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



##########
File path: docs/zh/latest/plugins/limit-count.md
##########
@@ -51,6 +51,7 @@ title: limit-count
 | redis_database      | integer | 可选         | 0             | redis_database 
>= 0                                                                            
         | 当使用 `redis` 限速策略时,该属性是 Redis 服务节点中使用的 database,并且只针对非 Redis 
集群模式(单实例模式或者提供单入口的 Redis 公有云服务)生效。                                              
                                                                                
                                                                                
                                                   |
 | redis_timeout       | integer | 可选         | 1000          | [1,...]         
                                                                                
        | 当使用 `redis` 限速策略时,该属性是 Redis 服务节点以毫秒为单位的超时时间                          
                                                                                
                                                                                
                                                                                
                                                                    |
 | redis_cluster_nodes | array   | 可选         |               |                 
                                                                                
        | 当使用 `redis-cluster` 限速策略时,该属性是 Redis 集群服务节点的地址列表。                     
                                                                                
                                                                                
                                                                                
                                                                       |
+| redis_cluster_name  | string  | 可选         |               |                 
                                                                                
        | 当使用 `redis-cluster` 限速策略时,该属性是 Redis 集群服务节点的名称。                       
                                                                                
                                                                                
                                                                                
                                                                     |

Review comment:
       Ditto

##########
File path: docs/en/latest/plugins/limit-count.md
##########
@@ -48,6 +48,7 @@ Limit request rate by a fixed number of requests in a given 
time window.
 | redis_database      | integer | optional             | 0             | 
redis_database >= 0                                                             
                        | When using the `redis` policy, this property 
specifies the database you selected of the Redis server, and only for non Redis 
cluster mode (single instance mode or Redis public cloud service that provides 
single entry).                                                                  
             |
 | redis_timeout       | integer | optional             | 1000          | 
[1,...]                                                                         
                        | When using the `redis` policy, this property 
specifies the timeout in milliseconds of any command submitted to the Redis 
server.                                                                         
                                                                                
                  |
 | redis_cluster_nodes | array   | optional             |               |       
                                                                                
                  | When using `redis-cluster` policy,This property is a list 
of addresses of Redis cluster service nodes.                                    
                                                                                
                                                                                
|
+| redis_cluster_name  | string  | optional             |               |       
                                                                                
                  | When using `redis-cluster` policy, this property is the 
name of Redis cluster service nodes.                                            
                                                                                
                                                                                
       |

Review comment:
       Need to change the "optional".




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