fix: increase timeout for http_client (close #4409)

This commit is contained in:
Noah Hsu
2023-05-18 23:32:05 +08:00
parent a3446720a2
commit 63de65be45
2 changed files with 3 additions and 3 deletions

View File

@ -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},
},