1
0
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:
Darien Raymond 2018-07-27 17:24:26 +02:00
parent 4c798584ff
commit 720aca16d5
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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
)