mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
remove buffer pool of 512k
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user