-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring rate limiter code to make rate limiting more consistent w…
…hen 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. PiperOrigin-RevId: 513565040
- Loading branch information
Showing
10 changed files
with
835 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.