summaryrefslogtreecommitdiff
path: root/server/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.lua')
-rw-r--r--server/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/main.lua b/server/main.lua
index dd0c53d3..ac7860c5 100644
--- a/server/main.lua
+++ b/server/main.lua
@@ -8,6 +8,7 @@ package.path = (ROOT / 'src' / '?.lua'):string()
--collectgarbage('generational')
collectgarbage("setpause", 100)
+collectgarbage("setstepmul", 1000)
log = require 'log'
log.init(ROOT, ROOT / 'log' / 'service.log')
@@ -21,7 +22,7 @@ local function tryDebugger()
log.info('Debugger startup, listen port: 11411')
end
-pcall(tryDebugger)
+--pcall(tryDebugger)
require 'utility'
require 'global_protect'