From e9da24b5e2fcd5b7cb24fbc3a46b3f68cfe71a0a Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Mon, 4 Feb 2019 12:40:58 +0300 Subject: [PATCH] increase timeout --- v1/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/client.go b/v1/client.go index ca96014..4f5169f 100644 --- a/v1/client.go +++ b/v1/client.go @@ -18,7 +18,7 @@ func New(url string, token string) *MgClient { return &MgClient{ URL: url, Token: token, - httpClient: &http.Client{Timeout: 20 * time.Second}, + httpClient: &http.Client{Timeout: time.Minute}, } }