spacewander commented on a change in pull request #5984:
URL: https://github.com/apache/apisix/pull/5984#discussion_r777433167



##########
File path: docs/en/latest/plugins/limit-count.md
##########
@@ -39,7 +39,7 @@ Limit request rate by a fixed number of requests in a given 
time window.
 | ------------------- | ------- | --------------------------------------- | 
------------- | 
-------------------------------------------------------------------------------------------------------
 | 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 |
 | count               | integer | required                                |    
           | count > 0                                                          
                                     | the specified number of requests 
threshold.                                                                      
                                                                                
                                                                                
                          |
 | time_window         | integer | required                    |               
| time_window > 0                                                               
                          | the time window in seconds before the request count 
is reset.                                                                       
                                                                                
                                                                                
       |
-| key_type      | string  | optional    |   "var"   | ["var", 
"var_combination"] | the type of key. |
+| key_type      | string  | optional    |   "var"   | ["var", 
"var_combination", "constant"] | the type of key. |
 | key           | string  | optional    |     "remote_addr"    |  | the user 
specified key to limit the rate. If the `key_type` is "var", the key will be 
treated as a name of variable. If the `key_type` is "var_combination", the key 
will be a combination of variables. For example, if we use "$remote_addr 
$consumer_name" as keys, plugin will be restricted by two keys which are 
"remote_addr" and "consumer_name". If the value of the key is empty, 
`remote_addr` will be set as the default key.|

Review comment:
       Addressed in the new commit




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to