From d9ea65696a7d853ca755a8a4fec876bd57421979 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 16 Apr 2017 22:33:20 +0200 Subject: [PATCH] increase multi buffer capacity --- common/buf/multi_buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buf/multi_buffer.go b/common/buf/multi_buffer.go index 4bc7a93e..2dbb65fe 100644 --- a/common/buf/multi_buffer.go +++ b/common/buf/multi_buffer.go @@ -16,7 +16,7 @@ type MultiBufferReader interface { type MultiBuffer []*Buffer func NewMultiBuffer() MultiBuffer { - return MultiBuffer(make([]*Buffer, 0, 32)) + return MultiBuffer(make([]*Buffer, 0, 128)) } func NewMultiBufferValue(b ...*Buffer) MultiBuffer {