Merge pull request #22 from DmitryZagorulko/master

increase timeout
This commit is contained in:
Alex Lushpai 2019-02-04 12:57:51 +03:00 committed by GitHub
commit 6d9a068d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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