Skip to content

Commit

Permalink
tweak timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgrep committed Apr 13, 2024
1 parent 82b367e commit 5eb10e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/swgp-go/main_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func (g *gatewayMonitor) watch() {
// update ip
g.ip = ip
}
// sleep for 3 seconds
time.Sleep(3 * time.Second)
// sleep for 10 seconds
time.Sleep(10 * time.Second)

// show current gateway route
g.logger.Info("Current gateway route:" + ip.String())
Expand Down

0 comments on commit 5eb10e6

Please sign in to comment.