1
0
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:
SuperKenVery 2023-08-01 10:48:14 +08:00 committed by GitHub
parent 04cbf7b5d7
commit 7adbbd6f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ var client = &http.Client{
TLSNextProto: map[string]func(authority string, c *tls.Conn) http.RoundTripper{}, TLSNextProto: map[string]func(authority string, c *tls.Conn) http.RoundTripper{},
MaxIdleConnsPerHost: 999, MaxIdleConnsPerHost: 999,
}, },
Timeout: time.Second * 15, Timeout: time.Minute,
} }
var clienth2 = &http.Client{ var clienth2 = &http.Client{