Set rate limit to 4 secs
This commit is contained in:
@@ -65,7 +65,7 @@ func NewHTTPClient(
|
|||||||
client: &http.Client{},
|
client: &http.Client{},
|
||||||
maxRetries: maxRetries,
|
maxRetries: maxRetries,
|
||||||
timeoutSecs: timeoutSecs,
|
timeoutSecs: timeoutSecs,
|
||||||
rateLimitSleepSecs: 2,
|
rateLimitSleepSecs: 4,
|
||||||
backoff: backoffFunc,
|
backoff: backoffFunc,
|
||||||
dnsCache: cmap.New[string](),
|
dnsCache: cmap.New[string](),
|
||||||
hosts: hosts,
|
hosts: hosts,
|
||||||
|
|||||||
Reference in New Issue
Block a user