limit the graceful shutdown time to 3 seconds
parent
2dd82f82de
commit
ad1e8fb4f8
|
@ -378,6 +378,10 @@ async.waterfall([
|
|||
|
||||
process.exit(0);
|
||||
});
|
||||
|
||||
setTimeout(function(){
|
||||
process.exit(1);
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
//connect graceful shutdown with sigint and uncaughtexception
|
||||
|
|
Loading…
Reference in New Issue