From c1740d87049b3d5406f31a46677c6ebff8af02ca Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 11 Aug 2019 17:36:53 +0800 Subject: [PATCH] resize core bufsize --- core/buffer_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/buffer_pool.go b/core/buffer_pool.go index e60371a..7801bcd 100644 --- a/core/buffer_pool.go +++ b/core/buffer_pool.go @@ -6,7 +6,7 @@ import ( var pool *sync.Pool -const BufSize = 2 * 1024 +const BufSize = 32 * 1024 func SetBufferPool(p *sync.Pool) { pool = p