Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to handle rate limiting #71

Closed
wants to merge 1 commit into from

Conversation

francois2metz
Copy link

  • cache the last value of x-ratelimit-remaining header
  • sleep 1 minute if the cache is equals to 0

Should fixes #5.

* 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 <francois@2metz.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle Rate Limiting
1 participant