mirror of https://github.com/coder/coder.git
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.
This commit is contained in:
parent
4895e011df
commit
5325bec26c
|
@ -73,6 +73,7 @@ func FindClosestNode() (Node, error) {
|
|||
}
|
||||
|
||||
pinger.Count = 5
|
||||
pinger.Timeout = 5 * time.Second
|
||||
err = pinger.Run()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue