mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 01:02:12 +08:00
Rate bug
This commit is contained in:
1 parent
496d9f52f9
commit
7bf54b608d
1 file changed
+1
-1
+1
-1
@@ -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{} {
|
||||||
|
|||||||
Reference in new issue
Block a user