increased sigterm delay

This commit is contained in:
cubedro 2015-04-28 17:59:36 +03:00
parent 4b014e90be
commit 788b396e8c

4
app.js
View File

@ -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