From 2398cb2568393d4a8bdc170dbad08a5f135cd133 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Fri, 28 Dec 2018 13:39:00 +1100 Subject: [PATCH] Bump common HTTP client timeout to 15 seconds --- common/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/common.go b/common/common.go index 432e161e..67594b74 100644 --- a/common/common.go +++ b/common/common.go @@ -57,9 +57,9 @@ const ( ) func initialiseHTTPClient() { - // If the HTTPClient isn't set, start a new client with a default timeout of 5 seconds + // If the HTTPClient isn't set, start a new client with a default timeout of 15 seconds if HTTPClient == nil { - HTTPClient = NewHTTPClientWithTimeout(time.Duration(time.Second * 5)) + HTTPClient = NewHTTPClientWithTimeout(time.Duration(time.Second * 15)) } }