Uh oh!
There was an error while loading. Please reload this page.
doc: document that addMembership must be called once in a cluster - #23746
doc: document that addMembership must be called once in a cluster#23746jasnell wants to merge 5 commits into
Conversation
| available interface, call `addMembership` multiple times, once per interface. | ||
| When sharing a UDP socket across multiple `cluster` workers, the | ||
| `socket.addMembership()` function must only be called *only once* or an |
There was a problem hiding this comment.
There is one too many occurrences of the word only.
FWIW, I'd avoid the italics here too.
There was a problem hiding this comment.
Feel free to make any edits you'd like
There was a problem hiding this comment.
There is the new github feature to make suggestions that add a commit by accepting the suggestion :-)
There was a problem hiding this comment.
If I am not mistaken, any Collaborator can assign themselves to a PR and accept an own proposed change. This can alleviate nit addressing for the PR author, but also can be felt like a bit arbitrarily thing. But if a PR author declares concent, this seems OK.
| ```js | ||
| const cluster = require('cluster'); | ||
| const dgram = require('dgram'); | ||
| if (cluster.isMaster) { |
There was a problem hiding this comment.
Linter is failing because of indentation issues on this line and the next two lines.
Experiment: I am trying to assign myself to the PR and accept my own nit change proposal (which === pushing to the PR branch?). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: jasnell <jasnell@gmail.com>
Co-Authored-By: jasnell <jasnell@gmail.com>
jasnell
commented
Oct 19, 2018
Oh! Sorry @vsemozhetbyt ... I accepted the changes then saw you note about trying an experiment... hopefully I didn't mess it up |
vsemozhetbyt
commented
Oct 19, 2018
Not sure if this was a race condition, we can try it again later in some other PR) |
jasnell
commented
Oct 19, 2018
Please 👍 to fast track |
jasnell
commented
Oct 23, 2018
Landed in 30d42f6 |


Fixes: #12572
Refs: #16240
Checklist