1
0
mirror of synced 2024-11-22 04:56:06 +03:00

Merge pull request #48 from DmitryZagorulko/master

increase timeout
This commit is contained in:
Alex Lushpai 2019-02-04 12:58:24 +03:00 committed by GitHub
commit 0860b2bcb4
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{
URL: url,
Token: token,
httpClient: &http.Client{Timeout: 20 * time.Second},
httpClient: &http.Client{Timeout: time.Minute},
}
}