Skip to content

Commit 629a76f

Browse files
cjihrigMyles Borins
authored and
Myles Borins
committed
doc: remove cluster.setupMaster() myth
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 <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]>
1 parent 5b807ac commit 629a76f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

doc/api/cluster.md

-3
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,6 @@ values are `"rr"` and `"none"`.
587587
After calling `.setupMaster()` (or `.fork()`) this settings object will contain
588588
the settings, including the default values.
589589

590-
It is effectively frozen after being set, because `.setupMaster()` can
591-
only be called once.
592-
593590
This object is not supposed to be changed or set manually, by you.
594591

595592
## cluster.setupMaster([settings])

0 commit comments

Comments
 (0)