Merge pull request #24 from DmitryZagorulko/master

increase timeout
This commit is contained in:
Alex Lushpai 2019-02-04 12:58:49 +03:00 committed by GitHub
commit 1625192e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ func New(url string, token string) *MgClient {
return &MgClient{ return &MgClient{
URL: url, URL: url,
Token: token, Token: token,
httpClient: &http.Client{Timeout: 20 * time.Second}, httpClient: &http.Client{Timeout: time.Minute},
} }
} }