summaryrefslogtreecommitdiff
path: root/server/main.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-21 10:39:22 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-21 10:39:22 +0800
commit98e6ff4ad8ad1ca146a418c3b85df7ec51509260 (patch)
treea28bc5b7ed7288ddee88204c95b2caf3a70a157d /server/main.lua
parent359d8230f115375e148ad9828475dec90e852eb9 (diff)
downloadlua-language-server-98e6ff4ad8ad1ca146a418c3b85df7ec51509260.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 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')