update buffer pool size

pull/215/head
v2ray 8 years ago
parent 9523cb3ec3
commit 9e8ed30052
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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)

Loading…
Cancel
Save