From d917c23fda32dcfde1c0ddd0333bbb4438e1e688 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 21 Nov 2023 22:17:01 +0800 Subject: [PATCH] Update webstats_common.lua --- plugins/webstats/lua/webstats_common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/webstats/lua/webstats_common.lua b/plugins/webstats/lua/webstats_common.lua index 255aa5c1c..814d650cd 100644 --- a/plugins/webstats/lua/webstats_common.lua +++ b/plugins/webstats/lua/webstats_common.lua @@ -372,7 +372,7 @@ function _M.cron(self) end local input_stmts = stmts[input_sn]["web_logs"] - if input_stmts then + if not input_stmts then ngx.shared.mw_total:rpush(total_key, data) self:unlock_working(cron_key) break