1
0
mirror of synced 2024-11-25 06:26:03 +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},
}
}