mscb402 commented on code in PR #8578: URL: https://github.com/apache/apisix/pull/8578#discussion_r1058140196
########## apisix/plugins/limit-count/init.lua: ########## @@ -242,6 +245,15 @@ local function gen_limit_obj(conf, ctx) return core.lrucache.plugin_ctx(lrucache, ctx, extra_key, create_limit_obj, conf) end +local function get_end_time(conf,key) + local create = function() + return { + endtime=0, + } + end + + return resetlru(key,"",create,conf) Review Comment: 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org