Skip to content

Commit 55af83d

Browse files
committed
cluster: document cluster.setPrimary({schedulingPolicy})
1 parent cfde107 commit 55af83d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/cluster.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,9 @@ values are `'rr'` and `'none'`.
900900
<!-- YAML
901901
added: v0.7.1
902902
changes:
903+
- version: v21.0.0
904+
pr-url: https://github.com/nodejs/node/pull/xxx
905+
description: The `schedulingPolicy` option is supported now.
903906
- version:
904907
- v13.2.0
905908
- v12.16.0
@@ -931,6 +934,9 @@ changes:
931934
messages between processes. Possible values are `'json'` and `'advanced'`.
932935
See [Advanced serialization for `child_process`][] for more details.
933936
**Default:** `false`.
937+
* `schedulingPolicy` {string} Scheduling policy to use between processes.
938+
**Default:** `cluster.SCHED_RR`. See \[`cluster.schedulingPolicy`]\[] for
939+
details.
934940
* `silent` {boolean} Whether or not to send output to parent's stdio.
935941
**Default:** `false`.
936942
* `stdio` {Array} Configures the stdio of forked processes. Because the

0 commit comments

Comments
 (0)