Bump common HTTP client timeout to 15 seconds

This commit is contained in:
Adrian Gallagher
2018-12-28 13:39:00 +11:00
parent dffa8eca99
commit 2398cb2568

View File

@@ -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))
}
}