mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-16 07:06:25 +08:00
fix: increase timeout for http_client (close #4409)
This commit is contained in:
@@ -40,7 +40,7 @@ func NewRestyClient() *resty.Client {
|
||||
|
||||
func NewHttpClient() *http.Client {
|
||||
return &http.Client{
|
||||
Timeout: DefaultTimeout,
|
||||
Timeout: time.Hour * 48,
|
||||
Transport: &http.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: conf.Conf.TlsInsecureSkipVerify},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user