mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 12:16:45 +02:00
limit the graceful shutdown time to 3 seconds
This commit is contained in:
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…
x
Reference in New Issue
Block a user