-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat(limit-count): support multiple variables as key #5378
Conversation
cc @spacewander ,please take a look thanks. CI failed by other test case which is not related to limit-count |
@@ -328,7 +328,7 @@ code: 200 | |||
"limit-count": { | |||
"count": ]] .. count .. [[, | |||
"time_window": 60, | |||
"key": "http_x_real_ip", | |||
"key": "remote_addr", |
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.
Can we change the relative tests to use remote_addr too?
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.
yes of course.
What this PR does / why we need it:
feat(limit-count): support multiple variables as key
Pre-submission checklist: