mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-06-28 10:15:23 +00: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