increase timeout
This commit is contained in:
parent
55dfc23bc0
commit
5bceed0fc7
@ -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…
Reference in New Issue
Block a user