mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
remove buffer pool of 512k
This commit is contained in:
parent
4c798584ff
commit
720aca16d5
@ -20,7 +20,7 @@ func createAllocFunc(size int32) func() interface{} {
|
||||
// Package buf is guaranteed to not use buffers larger than the largest pool.
|
||||
// Other packets may use larger buffers.
|
||||
const (
|
||||
numPools = 5
|
||||
numPools = 4
|
||||
sizeMulti = 4
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user