Open TheFreaky opened 1 week ago
@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.
@TheFreaky Thank you for signing the Contributor License Agreement!
This PR updates RedisRateLimiter to support larger values for
burstCapacity
by changing its type fromint
tolong
, enabling greater flexibility for extended time intervals. The changes include validation to ensure that theburstCapacity
does not exceed the maximum allowed value that can be safely handled by Redis scripts, which is2^53 - 1
.Closes #3594