From f856489260376e42177022b40185110362f9f802 Mon Sep 17 00:00:00 2001 From: Ihar Statkevich Date: Sat, 28 Jun 2025 19:39:34 +0200 Subject: [PATCH] Remove debug printf statement from LimitedBuffer.Write() Remove leftover debug fmt.Printf statement in the LimitedBuffer.Write() method that would print buffer size information to stdout when the buffer reaches its limit. This debug output is not intended for production use. --- services/util/util.go | 1 - 1 file changed, 1 deletion(-) diff --git a/services/util/util.go b/services/util/util.go index 1f8a0140..2a041e40 100644 --- a/services/util/util.go +++ b/services/util/util.go @@ -210,7 +210,6 @@ func (l *LimitedBuffer) Write(p []byte) (int, error) { // Write enough to fill the buffer and then stop. size := int(l.max) - l.buf.Len() l.buf.Write(p[:size]) - fmt.Printf("size: %d\n", size) } // Lie and return the length we could have written. return len(p), nil