mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-01-22 17:41:40 +03:00
increase timeout
This commit is contained in:
parent
b3d0370c21
commit
e9da24b5e2
@ -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},
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user