1
0
mirror of https://github.com/ehang-io/nps synced 2025-10-19 13:23:16 +08:00
This commit is contained in:
刘河 2019-03-02 22:57:05 +08:00
parent 496d9f52f9
commit 7bf54b608d

View File

@ -7,7 +7,7 @@ import (
const PoolSize = 64 * 1024
const PoolSizeSmall = 100
const PoolSizeUdp = 1472
const PoolSizeCopy = 32 << 6
const PoolSizeCopy = 32 << 10
var BufPool = sync.Pool{
New: func() interface{} {