cleanup the shutdown code a bit

This commit is contained in:
Henry Oswald
2020-04-23 11:32:33 +01:00
parent 3513748f73
commit 557dc47e30
2 changed files with 10 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ module.exports = {
compileSizeLimit: process.env.COMPILE_SIZE_LIMIT || '7mb',
processLifespanLimitMs:
process.env.PROCESS_LIFE_SPAN_LIMIT_MS || 60 * 60 * 24 * 1000 * 2,
parseInt(process.env.PROCESS_LIFE_SPAN_LIMIT_MS) || 60 * 60 * 24 * 1000 * 2,
path: {
compilesDir: Path.resolve(__dirname + '/../compiles'),