Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
kylecarbs committed Oct 17, 2022
commit 291bfdf5c610a462e7778a03b10557baf33ec1c0
1 change: 1 addition & 0 deletions coderd/devtunnel/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func FindClosestNode() (Node, error) {
}

pinger.Count = 5
pinger.Timeout = 5 * time.Second
err = pinger.Run()
if err != nil {
return err
Expand Down