From 291bfdf5c610a462e7778a03b10557baf33ec1c0 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Mon, 17 Oct 2022 17:44:44 +0000 Subject: [PATCH] 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. --- coderd/devtunnel/servers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/coderd/devtunnel/servers.go b/coderd/devtunnel/servers.go index 092638fc36a1f..7025fb9c715a6 100644 --- a/coderd/devtunnel/servers.go +++ b/coderd/devtunnel/servers.go @@ -73,6 +73,7 @@ func FindClosestNode() (Node, error) { } pinger.Count = 5 + pinger.Timeout = 5 * time.Second err = pinger.Run() if err != nil { return err pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy