Skip to content

fix: Add timeout to selecting a dev tunnel #4592

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 1 commit into from
Oct 17, 2022
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