decreased shutdown wait time

This commit is contained in:
cubedro 2015-06-09 06:33:38 +03:00
parent 63c739eae4
commit 614c15b6ba

2
app.js
View File

@ -14,7 +14,7 @@ var gracefulShutdown = function() {
setTimeout(function(){
console.info("xxx", "sys", "Closed out remaining connections.");
process.exit(0);
}, 5*1000);
}, 1000);
}
// listen for TERM signal .e.g. kill