summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/service/service.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/script/service/service.lua b/script/service/service.lua
index 8278bbbe..ed83a27a 100644
--- a/script/service/service.lua
+++ b/script/service/service.lua
@@ -160,17 +160,17 @@ function m.startTimer()
end
function m.pulse()
- timer.loop(10, function ()
- if not m.workingClock and not m.sleeping and time.monotonic() - m.idleClock >= 300000 then
- m.sleeping = true
- files.flushCache()
- vm.flushCache()
- ws.flushCache()
- collectgarbage()
- collectgarbage()
- end
- m.reportStatus()
- end)
+ --timer.loop(10, function ()
+ -- if not m.workingClock and not m.sleeping and time.monotonic() - m.idleClock >= 300000 then
+ -- m.sleeping = true
+ -- files.flushCache()
+ -- vm.flushCache()
+ -- ws.flushCache()
+ -- collectgarbage()
+ -- collectgarbage()
+ -- end
+ -- m.reportStatus()
+ --end)
timer.loop(0.1, function ()
m.reportStatus()
end)