From 9d80161ab7bc86c4be1ab1a4fc1f5f0671dc0360 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 21 Mar 2025 17:23:10 -0400 Subject: [PATCH] Increases ping attempts to 15 Might help #7 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 32e1fc1..cf3f062 100644 --- a/main.go +++ b/main.go @@ -137,7 +137,7 @@ func startPingCheck(tnet *netstack.Net, serverIP string, stopChan chan struct{}) func pingWithRetry(tnet *netstack.Net, dst string) error { const ( - maxAttempts = 5 + maxAttempts = 15 retryDelay = 2 * time.Second )