diff --git a/cmd/metacache-stream.go b/cmd/metacache-stream.go index f6a1fc17f..08a2f7375 100644 --- a/cmd/metacache-stream.go +++ b/cmd/metacache-stream.go @@ -230,7 +230,8 @@ func (w *metacacheWriter) Reset(out io.Writer) { } var s2DecPool = sync.Pool{New: func() interface{} { - return s2.NewReader(nil) + // Default alloc block for network transfer. + return s2.NewReader(nil, s2.ReaderAllocBlock(16<<10)) }} // metacacheReader allows reading a cache stream.