mirror of
https://github.com/fosrl/newt.git
synced 2026-03-02 16:56:42 +00:00
Merge branch 'dev'
This commit is contained in:
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 {
|
func pingWithRetry(tnet *netstack.Net, dst string) error {
|
||||||
const (
|
const (
|
||||||
maxAttempts = 5
|
maxAttempts = 15
|
||||||
retryDelay = 2 * time.Second
|
retryDelay = 2 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user