Browse Source

doc: mention execArgv in setupMaster

v0.10.23-release
Yazhong Liu 11 years ago
committed by Timothy J Fontaine
parent
commit
5cfee927cd
  1. 2
      doc/api/cluster.markdown

2
doc/api/cluster.markdown

@ -94,6 +94,8 @@ the worker pool for your application's needs.
## cluster.settings ## cluster.settings
* {Object} * {Object}
* `execArgv` {Array} list of string arguments passed to the node executable.
(Default=`process.execArgv`)
* `exec` {String} file path to worker file. (Default=`process.argv[1]`) * `exec` {String} file path to worker file. (Default=`process.argv[1]`)
* `args` {Array} string arguments passed to worker. * `args` {Array} string arguments passed to worker.
(Default=`process.argv.slice(2)`) (Default=`process.argv.slice(2)`)

Loading…
Cancel
Save