mirror of
https://github.com/fosrl/newt.git
synced 2025-05-13 05:30:39 +01:00
parent
ab544fc9ed
commit
9d80161ab7
1 changed files with 1 additions and 1 deletions
2
main.go
2
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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue