logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 3f82d8b979104c7056fe431a9c2bd32e1004c9c5
parent: 9fe6cfca48b005158979583e2266d7899e84dbe0
Author: Nolan Lawson <nolan@nolanlawson.com>
Date:   Fri,  7 Jul 2017 11:01:00 -0700

Gracefully stop streaming server (#4103)


Diffstat:

Mstreaming/index.js1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/streaming/index.js b/streaming/index.js @@ -467,6 +467,7 @@ const startWorker = (workerId) => { const onExit = () => { log.info(`Worker ${workerId} exiting, bye bye`); server.close(); + process.exit(0); }; const onError = (err) => {