Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Cluster 2.0 – step 5 : Make setupMaster public API #2470

Closed
wants to merge 8 commits into from

Conversation

AndreasMadsen
Copy link
Member

This make the setupMaster public API.

It allow:

  • workers to not relay stderr and stdout data
  • Custom child args
  • To have workers and master in separate files.

When the cluster is initialized a setup event is emitted and the cluster.settings is set. This allow module (cluster plugins) to know the cluster settings there was used.

@mscdex @visionmedia @ry please review

This is about the merging in the cluster 2.0 ( see #2038 ) pull request

}

// This is the testcase
else {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style should be:

} else {
  // This is the testcase

@AndreasMadsen
Copy link
Member Author

@ry fixed it all :)

@AndreasMadsen
Copy link
Member Author

I will update this pull request to fix #2556

@AndreasMadsen
Copy link
Member Author

Remember to close #2420

@ry ry closed this in f9a47de Jan 20, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants