diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-21 10:39:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-21 10:39:22 +0800 |
commit | 98e6ff4ad8ad1ca146a418c3b85df7ec51509260 (patch) | |
tree | a28bc5b7ed7288ddee88204c95b2caf3a70a157d /server/main.lua | |
parent | 359d8230f115375e148ad9828475dec90e852eb9 (diff) | |
download | lua-language-server-98e6ff4ad8ad1ca146a418c3b85df7ec51509260.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 1302ad5f..dd0c53d3 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') |