Skip to content

Commit 779091f

Browse files
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 8c53d2f commit 779091f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

doc/api/cluster.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,6 @@ values are `"rr"` and `"none"`.
632632
After calling `.setupMaster()` (or `.fork()`) this settings object will contain
633633
the settings, including the default values.
634634

635-
It is effectively frozen after being set, because `.setupMaster()` can
636-
only be called once.
637-
638635
This object is not supposed to be changed or set manually, by you.
639636

640637
## cluster.setupMaster([settings])

0 commit comments

Comments
 (0)