-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'disconnect' event is not emitted on cluster.worker #1304
Labels
cluster
Issues and PRs related to the cluster subsystem.
Comments
Can we just add |
I'll do |
Olegas
added a commit
to Olegas/io.js
that referenced
this issue
Apr 9, 2015
Fix for nodejs#1304 Inside of a worker, disconnect event was not emitted on cluster.worker
Olegas
added a commit
to Olegas/io.js
that referenced
this issue
Apr 9, 2015
Fix for nodejs#1304 Inside of a worker, disconnect event was not emitted on cluster.worker
Should be fixed as of 5883a59. |
Fishrock123
pushed a commit
to Fishrock123/node
that referenced
this issue
May 19, 2015
Inside of a worker, disconnect event was not emitted on cluster.worker Fixes: nodejs#1304 PR-URL: nodejs#1386 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Demo app here: https://gist.github.com/Olegas/c2e5550911cbe8b96dae
Steps to reproduce:
Expected result:
Line
Worker disconnected
(from https://gist.github.com/Olegas/c2e5550911cbe8b96dae#file-demo-js-L26) is present in log as stated in docs: https://iojs.org/api/cluster.html#cluster_event_disconnect_1If I change line 25 to
cluster.worker.process.on('disconnect', ...
it works fine.The text was updated successfully, but these errors were encountered: