mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Gracefully stop streaming server (#4103)
This commit is contained in:
parent
9fe6cfca48
commit
3f82d8b979
@ -467,6 +467,7 @@ const startWorker = (workerId) => {
|
||||
const onExit = () => {
|
||||
log.info(`Worker ${workerId} exiting, bye bye`);
|
||||
server.close();
|
||||
process.exit(0);
|
||||
};
|
||||
|
||||
const onError = (err) => {
|
||||
|
Loading…
Reference in New Issue
Block a user