decreased shutdown wait time
This commit is contained in:
parent
63c739eae4
commit
614c15b6ba
2
app.js
2
app.js
@ -14,7 +14,7 @@ var gracefulShutdown = function() {
|
|||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
console.info("xxx", "sys", "Closed out remaining connections.");
|
console.info("xxx", "sys", "Closed out remaining connections.");
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}, 5*1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
// listen for TERM signal .e.g. kill
|
// listen for TERM signal .e.g. kill
|
||||||
|
Loading…
Reference in New Issue
Block a user