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

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

Closed
AndreasMadsen wants to merge 8 commits intonodejs:masterfrom
AndreasMadsen:cluster2
Closed

Cluster 2.0 – step 5 : Make setupMaster public API#2470
AndreasMadsen wants to merge 8 commits intonodejs:masterfrom
AndreasMadsen:cluster2

Conversation

@AndreasMadsen
Copy link
Copy Markdown
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

Copy link
Copy Markdown

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
Copy Markdown
Member Author

@ry fixed it all :)

@AndreasMadsen
Copy link
Copy Markdown
Member Author

I will update this pull request to fix #2556

@AndreasMadsen
Copy link
Copy Markdown
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