fix panic when wireguard tunnel encounter udp recv error (#299)

This commit is contained in:
Sijie.Sun
2024-09-02 09:37:34 +08:00
committed by GitHub
parent f07b3ee9c6
commit 1609c97574
2 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ impl GlobalCtx {
let net_ns = NetNS::new(config_fs.get_netns());
let hostname = config_fs.get_hostname();
let (event_bus, _) = tokio::sync::broadcast::channel(100);
let (event_bus, _) = tokio::sync::broadcast::channel(1024);
let stun_info_collection = Arc::new(StunInfoCollector::new_with_default_servers());