summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/main.lua2
1 files changed, 2 insertions, 0 deletions
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)