monkeyDluffy6017 commented on code in PR #9663:
URL: https://github.com/apache/apisix/pull/9663#discussion_r1254203896
##########
apisix/plugins/limit-conn/init.lua:
##########
@@ -22,20 +22,17 @@ if ngx.config.subsystem == "stream" then
shdict_name = shdict_name .. "-stream"
end
-
local lrucache = core.lrucache.new({
type = "plugin",
})
local _M = {}
-
Review Comment:
Ditto
##########
apisix/plugins/limit-conn/init.lua:
##########
@@ -22,20 +22,17 @@ if ngx.config.subsystem == "stream" then
shdict_name = shdict_name .. "-stream"
end
-
local lrucache = core.lrucache.new({
type = "plugin",
})
local _M = {}
-
local function create_limit_obj(conf)
core.log.info("create new limit-conn plugin instance")
return limit_conn_new(shdict_name, conf.conn, conf.burst,
- conf.default_conn_delay)
+ conf.default_conn_delay)
Review Comment:
Why do you change this?
--
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]