mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-09 10:40:10 +08:00
Chore: decrease maxUDPQueueSize
This commit is contained in:
@@ -11,7 +11,7 @@ const (
|
|||||||
// maxUDPQueueSize is the max number of UDP packets
|
// maxUDPQueueSize is the max number of UDP packets
|
||||||
// could be buffered. if queue is full, upcoming packets
|
// could be buffered. if queue is full, upcoming packets
|
||||||
// would be dropped util queue is ready again.
|
// would be dropped util queue is ready again.
|
||||||
maxUDPQueueSize = 2 << 10
|
maxUDPQueueSize = 1 << 9
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Reference in New Issue
Block a user