Skip to content

Commit f8c6701

Browse files
MrOutputrvagg
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 3bfe048 commit f8c6701

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
@@ -624,6 +624,7 @@ cluster.setupMaster({
624624
});
625625
cluster.fork(); // https worker
626626
cluster.setupMaster({
627+
exec: 'worker.js',
627628
args: ['--use', 'http']
628629
});
629630
cluster.fork(); // http worker

0 commit comments

Comments
 (0)