Skip to content

Commit 9d80161

Browse files
Increases ping attempts to 15
Might help #7
1 parent ab544fc commit 9d80161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func startPingCheck(tnet *netstack.Net, serverIP string, stopChan chan struct{})
137137

138138
func pingWithRetry(tnet *netstack.Net, dst string) error {
139139
const (
140-
maxAttempts = 5
140+
maxAttempts = 15
141141
retryDelay = 2 * time.Second
142142
)
143143

0 commit comments

Comments
 (0)