mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
limit the graceful shutdown time to 3 seconds
This commit is contained in:
parent
2dd82f82de
commit
ad1e8fb4f8
1 changed files with 4 additions and 0 deletions
|
@ -378,6 +378,10 @@ async.waterfall([
|
|||
|
||||
process.exit(0);
|
||||
});
|
||||
|
||||
setTimeout(function(){
|
||||
process.exit(1);
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
//connect graceful shutdown with sigint and uncaughtexception
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue