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:
Kyle Carberry 2022-10-17 13:03:17 -05:00 committed by GitHub
parent 4895e011df
commit 5325bec26c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ func FindClosestNode() (Node, error) {
}
pinger.Count = 5
pinger.Timeout = 5 * time.Second
err = pinger.Run()
if err != nil {
return err