update buffer pool size

pull/215/head
v2ray 2016-07-15 15:16:35 +02:00
parent 9523cb3ec3
commit 9e8ed30052
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 3 additions and 3 deletions

View File

@ -50,6 +50,6 @@ const (
LargeBufferSize = 64*1024 - defaultOffset
)
var smallPool = NewBufferPool(1600, 128)
var mediumPool = NewBufferPool(8*1024, 128)
var largePool = NewBufferPool(64*1024, 64)
var smallPool = NewBufferPool(1600, 1024)
var mediumPool = NewBufferPool(8*1024, 256)
var largePool = NewBufferPool(64*1024, 32)