Refactoring rate limiter code to make rate limiting more consistent when multiple rate limiters are applied to a single log statement.
This rewrites the two currently support rate limiters and will cause a change in behaviour if both are used together in a single log statement, such as:
Refactoring rate limiter code to make rate limiting more consistent when multiple rate limiters are applied to a single log statement.
This rewrites the two currently support rate limiters and will cause a change in behaviour if both are used together in a single log statement, such as:
logger.atWarning().every(N).atMostEvery(T, TimeUnit).log(...);
The JavaDoc for the rate limiting methods has been updated to reflect the new behaviour.
RELNOTES=Improving rate limiter behaviour.