link parse fx5

This commit is contained in:
merdan 2022-09-10 11:58:24 +05:00
parent 59078c7a93
commit 35ae698007
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ func SendRequest(method string, endpoint string, values []byte, authKey string)
return body, nil
}
func NewHttpClient() (http.Client, context.Context) {
const ConnectMaxWaitTime = 80 * time.Second
const RequestMaxWaitTime = 120 * time.Second
const ConnectMaxWaitTime = 30 * time.Second
const RequestMaxWaitTime = 60 * time.Second
proxyUrl, _ := url.Parse("http://79.98.129.183:3128")
client := http.Client{
Transport: &http.Transport{