Skip to content

Commit

Permalink
doc: remove cluster.setupMaster() myth
Browse files Browse the repository at this point in the history
cluster.setupMaster() can be called more than once. Core even has
tests for this functionality. This commit removes an incorrect
statement to the contrary from the documentation.

Fixes: #7156
PR-URL: #7179
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
  • Loading branch information
cjihrig authored and Myles Borins committed Jul 14, 2016
1 parent 5b807ac commit 629a76f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,6 @@ values are `"rr"` and `"none"`.
After calling `.setupMaster()` (or `.fork()`) this settings object will contain
the settings, including the default values.

It is effectively frozen after being set, because `.setupMaster()` can
only be called once.

This object is not supposed to be changed or set manually, by you.

## cluster.setupMaster([settings])
Expand Down

0 comments on commit 629a76f

Please sign in to comment.