Commit 84e66f30 authored by Nikos Marinos's avatar Nikos Marinos

Manuscript.knex().destroy() instead of process exit

parent 37c9526b
Pipeline #13010 passed with stages
in 5 minutes and 41 seconds
......@@ -11,7 +11,7 @@ const { incompleteEmail, stalledEmail, stalledErrorEmail } = rfr('server/email')
logger.info(
`Stalled manuscripts check was finished in ${Date.now() - updateTime} ms`,
)
process.exit()
Manuscript.knex().destroy()
})()
async function stalledCheck() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment