Skip to content

Rate Limiting resetting not working as intended #11

Description

@daveallie

Each time the key gets updated, the expiry is reset (see here).

What is happening

  1. Setup endpoint that allows 100 requests per 1 day
  2. Make 90 requests in 1 hour (at time 00:00)
  3. 22 hours later make 9 more requests (at time 22:00)
  4. 3 hours after that make 2 requests (at time 01:00 the next day)

The last request will be rate limited.

What should be happening

In the example above, 24 hours after the first request (midnight on the second day) the rate limiting should have been reset. At step 4, there should be 100 remaining requests available, however there is only 1.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions