mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:59:25 +08:00
up
This commit is contained in:
@@ -55,6 +55,7 @@ end
|
||||
function _M.getInstance(self)
|
||||
if self.instance == nil then
|
||||
self.instance = self:new()
|
||||
self:cron()
|
||||
end
|
||||
assert(self.instance ~= nil)
|
||||
return self.instance
|
||||
|
||||
@@ -17,5 +17,4 @@ end
|
||||
|
||||
if ngx.worker.id() == 0 then
|
||||
ngx.timer.every(60, webstats_cron_pre)
|
||||
WS_C:cron()
|
||||
end
|
||||
Reference in New Issue
Block a user