Update webstats_common.lua

This commit is contained in:
midoks 2022-10-18 01:48:18 +08:00
parent 794eba4186
commit 43a3dfd9bd
1 changed files with 2 additions and 2 deletions

View File

@ -404,13 +404,13 @@ function _M.store_logs_line(self, db, stmt, input_sn, info)
client_port=client_port,
}
-- local res, err = stmt:step()
local res, err = stmt:step()
if tostring(res) == "5" then
self:D("step res:"..tostring(res) ..",step err:"..tostring(err))
self:D("the step database connection is busy, so it will be stored later.")
return false
end
-- stmt:reset()
stmt:reset()
local res ,err = self:update_stat( db, "client_stat", time_key, client_stat_fields)
-- self:D("step res:"..tostring(res) ..",step err:"..tostring(err))