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

Be polite to APIs #506

Open
Hritik14 opened this issue Jul 19, 2021 · 1 comment
Open

Be polite to APIs #506

Hritik14 opened this issue Jul 19, 2021 · 1 comment

Comments

@Hritik14
Copy link
Collaborator

Hritik14 commented Jul 19, 2021

  • Respect rate limits
  • Global gentle 1s (or so) delay
  • Delays based on last visits

This could be done by implementing functions like vulnerablecode.get(url...)

@pombredanne
Copy link
Member

No function should ever make a request of its own.
We should always have a central place called from where we will be able to implement politeness and logging and retries, and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants