mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-24 22:06:03 +03:00
increase timeout
This commit is contained in:
parent
3e0076bf6b
commit
9568232839
@ -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},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user