Increases ping attempts to 15

Might help #7
This commit is contained in:
Owen 2025-03-21 17:23:10 -04:00
parent ab544fc9ed
commit 9d80161ab7
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -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
)