summaryrefslogtreecommitdiff
path: root/server/main.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-18 16:23:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-18 16:23:16 +0800
commit357e62b68d67c4218d95f6bee937e6d5e206d752 (patch)
treed53917e3e64b7f252fcb54116c9e5609fe380805 /server/main.lua
parentde4cec30d4befc0de4bd264c16c52c1a575cd5d3 (diff)
downloadlua-language-server-357e62b68d67c4218d95f6bee937e6d5e206d752.zip
重构文件符号
Diffstat (limited to 'server/main.lua')
-rw-r--r--server/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/main.lua b/server/main.lua
index 4f3dcf71..dd0c53d3 100644
--- a/server/main.lua
+++ b/server/main.lua
@@ -7,6 +7,7 @@ package.path = (ROOT / 'src' / '?.lua'):string()
.. ';' .. (ROOT / 'src' / '?' / 'init.lua'):string()
--collectgarbage('generational')
+collectgarbage("setpause", 100)
log = require 'log'
log.init(ROOT, ROOT / 'log' / 'service.log')