mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-06-28 10:15:23 +00:00
Increase small buffer pool
This commit is contained in:
parent
f474fc32a7
commit
bbc41c5e63
|
@ -124,7 +124,7 @@ func (p *bufferPool) cleanup(tick <-chan time.Time) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var smallPool = newBufferPool(1024, 16, 64)
|
var smallPool = newBufferPool(1024, 64, 512)
|
||||||
var mediumPool = newBufferPool(8*1024, 256, 2048)
|
var mediumPool = newBufferPool(8*1024, 256, 2048)
|
||||||
var largePool = newBufferPool(64*1024, 128, 1024)
|
var largePool = newBufferPool(64*1024, 128, 1024)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user