This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Gracefully stop streaming server (
#4103
)
pull/4/head
Nolan Lawson
6 years ago
committed by
Eugen Rochko
parent
9fe6cfca48
commit
3f82d8b979
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
streaming/index.js
+ 1
- 0
streaming/index.js
View File
@ -467,6 +467,7 @@ const startWorker = (workerId) => {
const
onExit
=
(
)
=>
{
log
.
info
(
`
Worker
${
workerId
}
exiting, bye bye
`
)
;
server
.
close
(
)
;
process
.
exit
(
0
)
;
}
;
const
onError
=
(
err
)
=>
{
Write
Preview
Loading…
Cancel
Save