From ff87e45b6315afeb2d47efc8da34d6dd857bac52 Mon Sep 17 00:00:00 2001 From: Vincent Boutour Date: Tue, 22 Oct 2024 00:01:24 +0200 Subject: [PATCH] feat: Increase buffer size for zipping Signed-off-by: Vincent Boutour --- pkg/provider/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/util.go b/pkg/provider/util.go index 37e03a3c..94d1c541 100644 --- a/pkg/provider/util.go +++ b/pkg/provider/util.go @@ -46,7 +46,7 @@ var ( BufferPool = sync.Pool{ New: func() any { - return bytes.NewBuffer(make([]byte, 4*1024)) + return bytes.NewBuffer(make([]byte, 32*1024)) }, }