-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf(rate-limiting) only increment configured limits #2488
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we need to address failing tests here?
LGTM, but this is missing context (the commit message explains what is happening, but now why- is this a perf improvement? Bug fix? Behavior change?). Would like to have a second pair of eyes as well, but seems clean. |
@p0pr0ck5 perf improvement, squashed and updated message |
c4b11c0
to
156131b
Compare
156131b
to
705196c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should apply the same changes to the response-ratelimiting plugin as well.
@thibaultcha as noted in the original PR summary, that deserves a different PR, also because response rate-limiting also has deeper problems in its test suite (currently not working). |
Notes: the same patch will have to be applied to the Response Rate Limiting plugin in a separate PR.