mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
增加签名服务器请求超时时间 (#2302)
* Increase timeout in download * 直接改一分钟好了 --------- Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
This commit is contained in:
parent
04cbf7b5d7
commit
7adbbd6f81
@ -33,7 +33,7 @@ var client = &http.Client{
|
||||
TLSNextProto: map[string]func(authority string, c *tls.Conn) http.RoundTripper{},
|
||||
MaxIdleConnsPerHost: 999,
|
||||
},
|
||||
Timeout: time.Second * 15,
|
||||
Timeout: time.Minute,
|
||||
}
|
||||
|
||||
var clienth2 = &http.Client{
|
||||
|
Loading…
x
Reference in New Issue
Block a user