Skip to content

Commit 9e93d75

Browse files
committed
fix: Add timeout to selecting a dev tunnel
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 9e93d75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/devtunnel/servers.go

+1
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 = 3 * time.Second
7677
err = pinger.Run()
7778
if err != nil {
7879
return err

0 commit comments

Comments
 (0)