diff --git a/lib/kill-on-idle.js b/lib/kill-on-idle.js index c614ef7..d8d6a3b 100644 --- a/lib/kill-on-idle.js +++ b/lib/kill-on-idle.js @@ -29,9 +29,9 @@ const killOnIdle = () => { ageMs, maxIdleMs, }); - } - process.exit(1); + process.exit(1); + } }; const init = () => { @@ -39,6 +39,8 @@ const init = () => { return; } + touch(); + logger.verbose(`${MODULE_NAME} CF75F9CE: Registering kill on idle checker`, { maxIdleMs, });