Update webstats_common.lua

This commit is contained in:
dami 2026-07-02 13:06:32 +08:00
parent cb5bd32b86
commit 8dfd26361f
1 changed files with 5 additions and 3 deletions

View File

@ -275,9 +275,11 @@ function _M.cron(self)
return true
end
for k, _ in pairs(stmt_caches) do
for key, _ in pairs(stmt_caches[k]) do
stmt_caches[k][key] = nil
for k, v in pairs(stmt_caches) do
if v then
for key, _ in pairs(v) do
v[key] = nil
end
end
end