Skip to content

Commit 5325bec

Browse files
authored
fix: Add timeout to selecting a dev tunnel (#4592)
For some reason this timed out for a prospect. Even if this doesn't fix it, the problem will be revealed.
1 parent 4895e01 commit 5325bec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/devtunnel/servers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ func FindClosestNode() (Node, error) {
7373
}
7474

7575
pinger.Count = 5
76+
pinger.Timeout = 5 * time.Second
7677
err = pinger.Run()
7778
if err != nil {
7879
return err

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