summaryrefslogtreecommitdiff
path: root/server/main.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-13 10:36:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-13 10:36:41 +0800
commit1716e334b260396da460148560045bc55894c322 (patch)
treeaa0a5856165c02ff594dbe496050e54f72b353ff /server/main.lua
parent52d631e2e5879c218adb0a969d337fc85732b593 (diff)
downloadlua-language-server-1716e334b260396da460148560045bc55894c322.zip
垃圾回收机制改回经典模式
Diffstat (limited to 'server/main.lua')
-rw-r--r--server/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.lua b/server/main.lua
index 35b75789..4f3dcf71 100644
--- a/server/main.lua
+++ b/server/main.lua
@@ -6,7 +6,7 @@ LANG = LANG or 'en-US'
package.path = (ROOT / 'src' / '?.lua'):string()
.. ';' .. (ROOT / 'src' / '?' / 'init.lua'):string()
-collectgarbage('generational')
+--collectgarbage('generational')
log = require 'log'
log.init(ROOT, ROOT / 'log' / 'service.log')