From 00c9174da40fd4fe71f0bcc306e3d996c8819387 Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Tue, 11 Aug 2015 10:42:41 -0700 Subject: [PATCH] pkg/http: up the timeout to 10 seconds Additionally, fix the units on that multiplication. This isn't acceleration. --- pkg/http_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/http_client.go b/pkg/http_client.go index a5b832d..c4fb803 100644 --- a/pkg/http_client.go +++ b/pkg/http_client.go @@ -80,7 +80,7 @@ func NewHttpClient() *HttpClient { MaxRetries: 15, SkipTLS: false, client: &http.Client{ - Timeout: time.Duration(2) * time.Second, + Timeout: 10 * time.Second, }, }