zaunist commented on a change in pull request #6691:
URL: https://github.com/apache/apisix/pull/6691#discussion_r834106454



##########
File path: docs/zh/latest/plugins/limit-req.md
##########
@@ -30,7 +30,7 @@ title: limit-req
 | 名称          | 类型    | 必选项 | 默认值 | 有效值                                        
                           | 描述                                                 
                                                                                
             |
 | ------------- | ------- | ------ | ------ | 
------------------------------------------------------------------------ | 
-------------------------------------------------------------------------------------------------------------------------------------------------
 |
 | rate          | integer | 必须   |        | rate > 0                           
                                     | 指定的请求速率(以秒为单位),请求速率超过 `rate` 
但没有超过(`rate` + `burst`)的请求会被加上延时。                                             |
-| burst         | integer | 必须   |        | burst >= 0                         
                                     | t 请求速率超过(`rate` + `burst`)的请求会被直接拒绝。     
                                                                                
       |
+| burst         | integer | 必须   |        | burst >= 0                         
                                     | 请求速率超过(`rate` + `burst`)的请求会被直接拒绝。       
                                                                                
     |
 | key           | string  | 必须   |        | ["remote_addr", "server_addr", 
"http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 
key 有:"remote_addr"(客户端 IP 地址), "server_addr"(服务端 IP 地址), 
请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |

Review comment:
       ```suggestion
   | key           | string  | 必须   |        | ["remote_addr", "server_addr", 
"http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 
key 有:"remote_addr"(客户端 IP 地址), "server_addr"(服务端 IP 地址), 请求头中的 
"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |
   ```




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