Skip to content
Snippets Groups Projects
Commit 17f34d6a authored by 最萌小汐's avatar 最萌小汐
Browse files

改回增量垃圾回收

parent 906b653c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,8 @@ local fs = require 'bee.filesystem'
ROOT = fs.path(rootPath)
LANG = LANG or 'en-US'
collectgarbage('generational', 10, 50)
--collectgarbage('generational', 10, 50)
collectgarbage('incremental', 120, 120, 0)
log = require 'log'
log.init(ROOT, ROOT / 'log' / 'service.log')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment