increase timeout

This commit is contained in:
DmitryZagorulko 2019-02-04 11:59:05 +03:00
parent 3e0076bf6b
commit 9568232839

View File

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