From 3e8ee3791a03be7e96f408998adef5de49660aa8 Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Thu, 19 Dec 2024 11:52:51 -0800 Subject: [PATCH] smaller buffer. Signed-off-by: Jeff Ortel --- task/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/manager.go b/task/manager.go index 7efca2d7..9a0e2067 100644 --- a/task/manager.go +++ b/task/manager.go @@ -2299,7 +2299,7 @@ func (r *LogCollector) copy(reader io.ReadCloser, writer io.Writer, ctx context. canceled := false readCh := make(chan []byte) if r.nBuf < 1 { - r.nBuf = 0x8000 + r.nBuf = 4096 } go func() { defer func() {