From 2f028779a7f5a9a6f74588c42af7c523bcd22825 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Fri, 22 May 2026 18:13:03 +0200 Subject: [PATCH] Update SetPerformance doc to match MaxBatchSize rejection --- client/embed/embed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/embed/embed.go b/client/embed/embed.go index 62c9927d7..b00a46f58 100644 --- a/client/embed/embed.go +++ b/client/embed/embed.go @@ -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.