liuhengloveyou commented on a change in pull request #2340:
URL: https://github.com/apache/apisix/pull/2340#discussion_r502805118



##########
File path: doc/plugins/limit-count.md
##########
@@ -39,11 +39,12 @@ Limit request rate by a fixed number of requests in a given 
time window.
 | 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.                                                          
                                                                                
                                                                                
                                         |
 | rejected_code  | integer | optional             | 503     | [200,600]        
                                                        | The HTTP status code 
returned when the request exceeds the threshold is rejected, default 503.       
                                                                                
                                                                                
                                       |
-| policy         | string  | optional             | "local" | ["local", 
"redis"]                                                       | The 
rate-limiting policies to use for retrieving and incrementing the limits. 
Available values are `local`(the counters will be stored locally in-memory on 
the node) and `redis`(counters are stored on a Redis server and will be shared 
across the nodes, usually used it to do the global speed limit). |
+| policy         | string  | optional             | "local" | ["local", 
"redis", "redis-cluster"]                                                       
| The rate-limiting policies to use for retrieving and incrementing the limits. 
Available values are `local`(the counters will be stored locally in-memory on 
the node) and `redis`(counters are stored on a Redis server and will be shared 
across the nodes, usually used it to do the global speed limit). |

Review comment:
       where?




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to