diff options
Diffstat (limited to 'server-beta/src')
-rw-r--r-- | server-beta/src/pub/pub.lua | 2 | ||||
-rw-r--r-- | server-beta/src/service/service.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/server-beta/src/pub/pub.lua b/server-beta/src/pub/pub.lua index ac4c779c..692d7837 100644 --- a/server-beta/src/pub/pub.lua +++ b/server-beta/src/pub/pub.lua @@ -9,6 +9,8 @@ local braveTemplate = [[ package.path = %q package.cpath = %q +collectgarbage 'generational' + log = require 'brave.log' local brave = require 'brave' brave.register(%d) diff --git a/server-beta/src/service/service.lua b/server-beta/src/service/service.lua index fb7200b8..2c576a72 100644 --- a/server-beta/src/service/service.lua +++ b/server-beta/src/service/service.lua @@ -29,6 +29,7 @@ end function m.report() local t = timer.loop(60.0, function () local lines = {} + lines[#lines+1] = '' lines[#lines+1] = '========= Medical Examination Report =========' lines[#lines+1] = m.reportMemory() lines[#lines+1] = '==============================================' |