summaryrefslogtreecommitdiff
path: root/server/main.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-20 17:51:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-20 17:51:12 +0800
commitbb0b45a5971067b6e06e0bec01377a45643031a3 (patch)
tree0ade4882d742749d63125997970019a3b911e694 /server/main.lua
parent5db061526383bdf5c671234511cab3a647b6ee36 (diff)
downloadlua-language-server-bb0b45a5971067b6e06e0bec01377a45643031a3.zip
切换收集机制
Diffstat (limited to 'server/main.lua')
-rw-r--r--server/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main.lua b/server/main.lua
index dd0c53d3..1302ad5f 100644
--- a/server/main.lua
+++ b/server/main.lua
@@ -6,8 +6,8 @@ LANG = LANG or 'en-US'
package.path = (ROOT / 'src' / '?.lua'):string()
.. ';' .. (ROOT / 'src' / '?' / 'init.lua'):string()
---collectgarbage('generational')
-collectgarbage("setpause", 100)
+collectgarbage('generational')
+--collectgarbage("setpause", 100)
log = require 'log'
log.init(ROOT, ROOT / 'log' / 'service.log')