Closed qix closed 2 years ago
Out of order timestamps could trigger ratelimiter more often that it was specified for
Don't allow out of order timestamps in ratelimit. If the new timestamp was before the last seen one, just move it up to the last seen one.
Added a test case which now passes
Problem
Out of order timestamps could trigger ratelimiter more often that it was specified for
Solution
Don't allow out of order timestamps in ratelimit. If the new timestamp was before the last seen one, just move it up to the last seen one.
Result
Added a test case which now passes