From d4ba1b1e09b854ba9dd9c36bb8ab810f54e827e6 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Wed, 30 Dec 2020 15:24:46 +0000 Subject: [PATCH] Bug fix: larger timeout for healtcheck --- internal/cli/healthcheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/healthcheck.go b/internal/cli/healthcheck.go index 2e3479ac..3513d5af 100644 --- a/internal/cli/healthcheck.go +++ b/internal/cli/healthcheck.go @@ -10,7 +10,7 @@ import ( ) func (c *cli) HealthCheck(ctx context.Context) error { - const timeout = 3 * time.Second + const timeout = 10 * time.Second httpClient := &http.Client{Timeout: timeout} healthchecker := healthcheck.NewChecker(httpClient) ctx, cancel := context.WithTimeout(ctx, timeout)