From 849f47baf7c926cda6d1710bd25c499144b0843e Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Sun, 7 Feb 2021 20:43:55 +0800 Subject: [PATCH] Chore: decrease maxUDPQueueSize --- tunnel/tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index 0e4a5f4..0ec5acd 100755 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -11,7 +11,7 @@ const ( // maxUDPQueueSize is the max number of UDP packets // could be buffered. if queue is full, upcoming packets // would be dropped util queue is ready again. - maxUDPQueueSize = 2 << 10 + maxUDPQueueSize = 1 << 9 ) var (