From 95682328399addb724c3b5835045cc6647f25eae Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Mon, 4 Feb 2019 11:59:05 +0300 Subject: [PATCH] increase timeout --- v5/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v5/client.go b/v5/client.go index 95f7850..d8ce064 100644 --- a/v5/client.go +++ b/v5/client.go @@ -20,7 +20,7 @@ func New(url string, key string) *Client { return &Client{ URL: url, Key: key, - httpClient: &http.Client{Timeout: 20 * time.Second}, + httpClient: &http.Client{Timeout: time.Minute}, } }