-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
docs(cluster): message event docs slightly wrong/confusing #7997
Comments
Why not:
Or, even more explicit:
|
zbjornson
added a commit
to zbjornson/node
that referenced
this issue
Aug 8, 2016
* cluster "message" is emitted when master, not worker, receives a message from a worker. Fixes nodejs#7997.
Aye, your second one is explicit and more accurate than "when a worker sends a message." PR #8017 |
cjihrig
pushed a commit
that referenced
this issue
Aug 10, 2016
Fixes: #7997 PR-URL: #8017 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Sep 30, 2016
Fixes: #7997 PR-URL: #8017 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
rvagg
pushed a commit
that referenced
this issue
Oct 18, 2016
Fixes: #7997 PR-URL: #8017 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Oct 26, 2016
Fixes: #7997 PR-URL: #8017 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From Cluster > Event: 'message'
I think this should say "sends a message." See gist -- when a worker receives a message from the master (which is how I read the docs currently), this is not triggered in either the worker or the master. It is triggered in the master when a worker sends a message.
Happy to PR if I'm not misunderstanding this.
The text was updated successfully, but these errors were encountered: