Skip to content

Feature request: rate limit middleware #44

Description

@joscha

This package should provide a rate limit middleware that respects the API rate limits

  • throttle requests based on the actual free API requests that are sent with each response:
       "x-ratelimit-limit-org": "unlimited",
       "x-ratelimit-limit-org-remaining": "unlimited",
       "x-ratelimit-limit-org-reset": "2143843",
       "x-ratelimit-limit-user": "900",
       "x-ratelimit-limit-user-remaining": "863",
       "x-ratelimit-limit-user-reset": "26",
* automatic retry/requeue requests that failed because of a `429` response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions