From 9297dd189945e8019c4598ad3eb082059ab4a3e7 Mon Sep 17 00:00:00 2001 From: sumneko Date: Fri, 12 Apr 2019 15:30:28 +0800 Subject: =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=B9=B6=E5=9B=9E=E6=94=B6=E5=AD=90?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E7=9A=84=E5=86=85=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/main.lua') 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' -- cgit v1.2.3