Remove GetRandomPreferredHost usage
This commit is contained in:
@@ -109,7 +109,7 @@ func NewHTTPClient(token string, maxRetries int, timeoutSecs int, ensureIPv6Host
|
||||
}
|
||||
|
||||
var dialer proxy.Dialer = &net.Dialer{
|
||||
Timeout: time.Duration(timeoutSecs) * time.Second,
|
||||
Timeout: time.Duration(timeoutSecs) * time.Second, // timeout to establish connection
|
||||
}
|
||||
if proxyURLString := cfg.GetProxy(); proxyURLString != "" {
|
||||
proxyURL, err := url.Parse(proxyURLString)
|
||||
|
||||
Reference in New Issue
Block a user