Skip to content

Commit 208fcc2

Browse files
committed
review
1 parent 3f49238 commit 208fcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpn/tunnel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ func (u *updater) recordLatencies() {
630630
go func() {
631631
// We need a waitgroup to cancel the context after all pings are done.
632632
var wg sync.WaitGroup
633-
pingCtx, cancelFunc := context.WithTimeout(u.ctx, 5*time.Second)
633+
pingCtx, cancelFunc := context.WithTimeout(u.ctx, netStatusInterval)
634634
defer cancelFunc()
635635
for _, agentID := range agentsIDsToPing {
636636
wg.Add(1)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy