Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
process.once('SIGTERM', () => {
clearInterval(libratoReporter)
librato.stop()
queue.shutdown(15000, (err) => {
console.log('Kue shutting down: ', err || 'OK')
process.exit(0)
})
})
process.once('uncaughtException', (err) => {