support p2p-only mode (#1598)

This commit is contained in:
Sijie.Sun
2025-11-20 08:20:27 +08:00
committed by GitHub
parent 5b9ac65477
commit b44053f496
16 changed files with 165 additions and 3 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ impl IcmpProxy {
}
let peer_manager = self.peer_manager.clone();
let is_latency_first = self.global_ctx.get_flags().latency_first;
let is_latency_first = self.global_ctx.latency_first();
self.tasks.lock().await.spawn(
async move {
while let Some(mut msg) = receiver.recv().await {