mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-03 04:53:50 +00:00
Rate bug
This commit is contained in:
parent
496d9f52f9
commit
7bf54b608d
@ -7,7 +7,7 @@ import (
|
|||||||
const PoolSize = 64 * 1024
|
const PoolSize = 64 * 1024
|
||||||
const PoolSizeSmall = 100
|
const PoolSizeSmall = 100
|
||||||
const PoolSizeUdp = 1472
|
const PoolSizeUdp = 1472
|
||||||
const PoolSizeCopy = 32 << 6
|
const PoolSizeCopy = 32 << 10
|
||||||
|
|
||||||
var BufPool = sync.Pool{
|
var BufPool = sync.Pool{
|
||||||
New: func() interface{} {
|
New: func() interface{} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user