mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-01-23 01:51:39 +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{
|
return &MgClient{
|
||||||
URL: url,
|
URL: url,
|
||||||
Token: token,
|
Token: token,
|
||||||
httpClient: &http.Client{Timeout: 20 * time.Second},
|
httpClient: &http.Client{Timeout: time.Minute},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user