1
0
mirror of synced 2024-11-21 20:46:05 +03:00

increase timeout

This commit is contained in:
DmitryZagorulko 2019-02-04 12:37:46 +03:00
parent 55dfc23bc0
commit 5bceed0fc7

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