increase timeout

This commit is contained in:
DmitryZagorulko 2019-02-04 12:40:58 +03:00
parent b3d0370c21
commit e9da24b5e2

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},
} }
} }