1
0
Fork 0
mirror of https://github.com/fosrl/newt.git synced 2025-05-19 16:37:49 +01:00

Increases ping attempts to 15

Might help 
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
)