increased sigterm delay
This commit is contained in:
parent
4b014e90be
commit
788b396e8c
4
app.js
4
app.js
@ -15,8 +15,8 @@ var gracefulShutdown = function() {
|
|||||||
|
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
console.info("Closed out remaining connections.");
|
console.info("Closed out remaining connections.");
|
||||||
process.exit(0)
|
process.exit(0);
|
||||||
}, 2*1000);
|
}, 5*1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
// listen for TERM signal .e.g. kill
|
// listen for TERM signal .e.g. kill
|
||||||
|
Loading…
Reference in New Issue
Block a user