diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-19 18:42:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-19 18:42:45 +0800 |
commit | 5d7bcc1fabcc97afd1151e3d49a22aedb0832659 (patch) | |
tree | ef83020ed67903fae889e8039ec86300e94e0085 | |
parent | eaa3c93756ab549f0184ebdb2d50c350d904bd70 (diff) | |
download | lua-language-server-5d7bcc1fabcc97afd1151e3d49a22aedb0832659.zip |
垃圾回收更加积极
-rw-r--r-- | server-beta/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/main.lua b/server-beta/main.lua index 748227ac..8a1f4135 100644 --- a/server-beta/main.lua +++ b/server-beta/main.lua @@ -5,7 +5,7 @@ local fs = require 'bee.filesystem' ROOT = fs.path(rootPath) LANG = LANG or 'en-US' -collectgarbage 'generational' +collectgarbage('generational', 5, 20) log = require 'log' log.init(ROOT, ROOT / 'log' / 'service.log') |