Set rate limit to 4 secs

This commit is contained in:
Ben Adrian Sarmiento
2024-07-10 21:31:29 +02:00
parent deb3359867
commit f8f68e8225

View File

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