diff --git a/app.js b/app.js index 4ba5068..fe1ca84 100644 --- a/app.js +++ b/app.js @@ -15,8 +15,8 @@ var gracefulShutdown = function() { setTimeout(function(){ console.info("Closed out remaining connections."); - process.exit(0) - }, 2*1000); + process.exit(0); + }, 5*1000); } // listen for TERM signal .e.g. kill