Skip to content

Conversation

@TheFreaky
Copy link
Contributor

This PR updates RedisRateLimiter to support larger values for burstCapacity by changing its type from int to long, enabling greater flexibility for extended time intervals.
The changes include validation to ensure that the burstCapacity does not exceed the maximum allowed value that can be safely handled by Redis scripts, which is 2^53 - 1.

Closes #3594

@pivotal-cla
Copy link

@TheFreaky Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@TheFreaky Thank you for signing the Contributor License Agreement!

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

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Allow larger rate limits for extended time intervals

4 participants