diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-20 17:51:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-20 17:51:12 +0800 |
commit | bb0b45a5971067b6e06e0bec01377a45643031a3 (patch) | |
tree | 0ade4882d742749d63125997970019a3b911e694 /server/main.lua | |
parent | 5db061526383bdf5c671234511cab3a647b6ee36 (diff) | |
download | lua-language-server-bb0b45a5971067b6e06e0bec01377a45643031a3.zip |
切换收集机制
Diffstat (limited to 'server/main.lua')
-rw-r--r-- | server/main.lua | 4 |
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') |