mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: add missing property in cluster example
`Cluster.setupMaster(options)` Options object was missing an `args` property on the example. PR-URL: https://github.com/nodejs/node/pull/5305 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
1 parent
1913909fce
commit
9894c026f5
1 file changed
+1
@@ -642,6 +642,7 @@ cluster.setupMaster({
|
||||
});
|
||||
cluster.fork(); // https worker
|
||||
cluster.setupMaster({
|
||||
exec: 'worker.js',
|
||||
args: ['--use', 'http']
|
||||
});
|
||||
cluster.fork(); // http worker
|
||||
|
||||
Reference in new issue
Block a user