okaybase commented on a change in pull request #4808:
URL: https://github.com/apache/apisix/pull/4808#discussion_r687843023



##########
File path: docs/en/latest/plugins/limit-conn.md
##########
@@ -43,6 +43,7 @@ Limiting request concurrency plugin.
 | only_use_default_delay  | boolean | optional    | false   | [true,false]     
                                                                         | 
enable the strict mode of the latency seconds. If you set this option to 
`true`, it will run strictly according to the latency seconds you set without 
additional calculation logic.                                                   
                                                                                
                                                                                
                                                                                
                   |
 | key                | object  | required    |         | ["remote_addr", 
"server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | to 
limit the concurrency level. <br />For example, one can use the host name (or 
server zone) as the key so that we limit concurrency per host name. Otherwise, 
we can also use the client address as the key so that we can avoid a single 
client from flooding our service with too many parallel connections or 
requests. <br /> Now accept those as key: "remote_addr"(client's IP), 
"server_addr"(server's IP), "X-Forwarded-For/X-Real-IP" in request header, 
"consumer_name"(consumer's username). |
 | rejected_code      | string  | optional    | 503     | [200,...,599]         
                                                                    | returned 
when the request exceeds `conn` + `burst` will be rejected.                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
 |
+| rejected_msg       | string | optional                                |      
      | non-empty                                | The `rejected_msg` returned 
when the request exceeds `conn` + `burst` will be rejected.                     
                                                                                
                                                                                
                       |

Review comment:
       okay, thanks, done~




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