spacewander commented on code in PR #7384:
URL: https://github.com/apache/apisix/pull/7384#discussion_r915368261
##########
apisix/plugins/limit-count.lua:
##########
@@ -139,7 +139,7 @@ local _M = {
local function group_conf(conf)
- return conf
+ return core.table.deepcopy(conf)
Review Comment:
What about maintaining a deep copy of schema, so we only need to deep copy
once?
https://github.com/apache/apisix/blob/a8a692d9a58a9a0185e22cfebbe2c0f000ba41f3/apisix/plugins/limit-count.lua#L86
--
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]