You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API documentation hints that users are limited to a maximum of sixty requests per minute. We need to detect when we are being limited, and if necessary perform exponential backoff until the window has elapsed.
Hopefully we’ll be able to detect rate limiting by looking at the status code, but if not we may need to use an internal counter.
The text was updated successfully, but these errors were encountered:
* cache the last value of x-ratelimit-remaining header
* sleep 1 minute if the cache is equals to 0
Signed-off-by: François de Metz <[email protected]>
The API documentation hints that users are limited to a maximum of sixty requests per minute. We need to detect when we are being limited, and if necessary perform exponential backoff until the window has elapsed.
Hopefully we’ll be able to detect rate limiting by looking at the status code, but if not we may need to use an internal counter.
The text was updated successfully, but these errors were encountered: