Skip to content

Commit

Permalink
doc: linkify .setupMaster() in cluster doc
Browse files Browse the repository at this point in the history
Refs: #30163
PR-URL: #30204
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
trivikr authored and targos committed Nov 10, 2019
1 parent d5aafde commit e5b2a8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,11 @@ added: v0.7.1

* `settings` {Object}

Emitted every time `.setupMaster()` is called.
Emitted every time [`.setupMaster()`][] is called.

The `settings` object is the `cluster.settings` object at the time
`.setupMaster()` was called and is advisory only, since multiple calls to
`.setupMaster()` can be made in a single tick.
[`.setupMaster()`][] was called and is advisory only, since multiple calls to
[`.setupMaster()`][] can be made in a single tick.

If accuracy is important, use `cluster.settings`.

Expand Down Expand Up @@ -710,7 +710,7 @@ added: v0.11.2
The scheduling policy, either `cluster.SCHED_RR` for round-robin or
`cluster.SCHED_NONE` to leave it to the operating system. This is a
global setting and effectively frozen once either the first worker is spawned,
or `cluster.setupMaster()` is called, whichever comes first.
or [`.setupMaster()`][] is called, whichever comes first.

`SCHED_RR` is the default on all operating systems except Windows.
Windows will change to `SCHED_RR` once libuv is able to effectively
Expand Down

0 comments on commit e5b2a8a

Please sign in to comment.