diff --git a/weed/operation/buffer_pool.go b/weed/operation/buffer_pool.go index 4003f7d70..9cbe4787f 100644 --- a/weed/operation/buffer_pool.go +++ b/weed/operation/buffer_pool.go @@ -6,6 +6,7 @@ import ( ) var bufferCounter int64 + func GetBuffer() *bytebufferpool.ByteBuffer { defer func() { atomic.AddInt64(&bufferCounter, 1)