1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-03 07:56:42 -05:00

update buffer pool size

This commit is contained in:
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

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)