mirror of https://github.com/ehang-io/nps
Rate bug
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…
Reference in New Issue