theweakgod commented on code in PR #10866:
URL: https://github.com/apache/apisix/pull/10866#discussion_r1470578833


##########
apisix/plugins/limit-conn.lua:
##########
@@ -19,18 +19,95 @@ local limit_conn = require("apisix.plugins.limit-conn.init")
 
 
 local plugin_name = "limit-conn"
+
+local policy_to_additional_properties = {

Review Comment:
   > I think this part of code is also duplicated, please look into how we can 
avoid code duplication.
   
   No, I don't think so. There may be some parameters in "local" that need to 
be customized. So this does not need to be made publicly available. I think it 
would be nice to have a template for everyone to use.



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