diff --git a/app.js b/app.js index 835f5ca..b48fc17 100644 --- a/app.js +++ b/app.js @@ -50,8 +50,8 @@ function shutdown() { } setTimeout(function() { console.log('Could not close connections in time, forcefully shutting down'); - process.exit(0); - }, 180 * 1000); + process.exit(1); + }, 60 * 1000); } process.on('SIGTERM', shutdown); process.on('SIGINT', shutdown);