Skip to content

Be polite to APIs #506

@Hritik14

Description

@Hritik14
Collaborator
  • 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...)

Activity

pombredanne

pombredanne commented on Jan 24, 2022

@pombredanne
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.

linked a pull request that will close this issue on Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @pombredanne@Hritik14@sbs2001

      Issue actions

        Be polite to APIs · Issue #506 · aboutcode-org/vulnerablecode