From 99a2b022c46c713c14513fc24c79915fb256d8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 20 Dec 2018 18:22:56 +0800 Subject: =?UTF-8?q?=E5=B0=9D=E8=AF=95=E6=94=B9=E6=88=90=E5=88=86=E4=BB=A3?= =?UTF-8?q?=E5=9E=83=E5=9C=BE=E5=9B=9E=E6=94=B6=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/main.lua') diff --git a/server/main.lua b/server/main.lua index 27c461c3..2f96e7cd 100644 --- a/server/main.lua +++ b/server/main.lua @@ -6,6 +6,8 @@ LANG = LANG or 'en-US' package.path = (ROOT / 'src' / '?.lua'):string() .. ';' .. (ROOT / 'src' / '?' / 'init.lua'):string() +collectgarbage('generational') + log = require 'log' log.init(ROOT, ROOT / 'log' / 'service.log') log.info('Lua Lsp startup, root: ', ROOT) -- cgit v1.2.3