8000 chore(vpn): send ping results over tunnel by ethanndickson · Pull Request #18200 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore(vpn): send ping results over tunnel #18200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 6, 2025
Prev Previous commit
review
  • Loading branch information
ethanndickson committed Jun 6, 2025
commit 208fcc224180228318d355d00328a1a04c4c5be7
2 changes: 1 addition & 1 deletion vpn/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ func (u *updater) recordLatencies() {
go func() {
// We need a waitgroup to cancel the context after all pings are done.
var wg sync.WaitGroup
pingCtx, cancelFunc := context.WithTimeout(u.ctx, 5*time.Second)
pingCtx, cancelFunc := context.WithTimeout(u.ctx, netStatusInterval)
defer cancelFunc()
for _, agentID := range agentsIDsToPing {
wg.Add(1)
Expand Down
Loading
0