We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f49238 commit 208fcc2Copy full SHA for 208fcc2
vpn/tunnel.go
@@ -630,7 +630,7 @@ func (u *updater) recordLatencies() {
630
go func() {
631
// We need a waitgroup to cancel the context after all pings are done.
632
var wg sync.WaitGroup
633
- pingCtx, cancelFunc := context.WithTimeout(u.ctx, 5*time.Second)
+ pingCtx, cancelFunc := context.WithTimeout(u.ctx, netStatusInterval)
634
defer cancelFunc()
635
for _, agentID := range agentsIDsToPing {
636
wg.Add(1)
0 commit comments