diff --git a/client.go b/client.go index 938e14d..23cb5e0 100644 --- a/client.go +++ b/client.go @@ -29,8 +29,8 @@ func NewClient(key string, dryRun bool) *Client { key: key, dryRun: dryRun, http: &http.Client{Timeout: 30 * time.Second}, - // 60 requests per 30 seconds: 2/sec sustained, burst of 60. - limiter: rate.NewLimiter(2, 60), + // limit to 2 requests per second, no bursts to avoid 429s + limiter: rate.NewLimiter(2, 1), } }