Update SetPerformance doc to match MaxBatchSize rejection

This commit is contained in:
Viktor Liu
2026-05-22 18:13:03 +02:00
parent e31be52ff3
commit 2f028779a7
+1 -1
View File
@@ -503,7 +503,7 @@ func (c *Client) VerifySSHHostKey(peerAddress string, key []byte) error {
// SetPerformance retunes a running Client. Only PreallocatedBuffersPerPool
// takes effect, and only when it was nonzero at construction;
// MaxBatchSize is construction-only and is ignored here.
// MaxBatchSize is construction-only and returns an error if set here.
//
// Returns ErrClientNotStarted / ErrEngineNotStarted if the Client is not
// running yet.