resize core bufsize

This commit is contained in:
Jason
2019-08-11 17:36:53 +08:00
parent bd5864026e
commit c1740d8704

View File

@@ -6,7 +6,7 @@ import (
var pool *sync.Pool var pool *sync.Pool
const BufSize = 2 * 1024 const BufSize = 32 * 1024
func SetBufferPool(p *sync.Pool) { func SetBufferPool(p *sync.Pool) {
pool = p pool = p