Jaycean commented on a change in pull request #2421:
URL: https://github.com/apache/apisix/pull/2421#discussion_r505974089
##########
File path: doc/plugins/limit-count.md
##########
@@ -37,7 +37,7 @@ Limit request rate by a fixed number of requests in a given
time window.
| -------------- | ------- | -------------------- | ------- |
------------------------------------------------------------------------ |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| count | integer | required | | [0,...]
| the specified number
of requests threshold.
|
| time_window | integer | required | | [0,...]
| the time window in
seconds before the request count is reset.
|
-| key | string | required | | ["remote_addr",
"server_addr", "http_x_real_ip", "http_x_forwarded_for"] | the user specified
key to limit the rate.
|
+| key | string | required | | ["remote_addr",
"server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | the
user specified key to limit the rate.
|
Review comment:
- Do you mean that I should introduce the function of each key like
limit-conn doc? @Firstsawyou
- I seem to have misunderstood you before.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]