diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-07-07 11:01:00 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-07 20:01:00 +0200 |
commit | 3f82d8b979104c7056fe431a9c2bd32e1004c9c5 (patch) | |
tree | d748c16e2c60d258ccdad407fd85f7742e2fab9a /streaming | |
parent | 9fe6cfca48b005158979583e2266d7899e84dbe0 (diff) |
Gracefully stop streaming server (#4103)
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/streaming/index.js b/streaming/index.js index 6ee8baea8..c7e0de96c 100644 --- 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) => { |