mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-25 23:59:25 +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