Skip to content

Commit 9894c02

Browse files
MrOutputsilverwind
authored andcommitted
doc: add missing property in cluster example
`Cluster.setupMaster(options)` Options object was missing an `args` property on the example. PR-URL: #5305 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 1913909 commit 9894c02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/cluster.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ cluster.setupMaster({
642642
});
643643
cluster.fork(); // https worker
644644
cluster.setupMaster({
645+
exec: 'worker.js',
645646
args: ['--use', 'http']
646647
});
647648
cluster.fork(); // http worker

0 commit comments

Comments
 (0)