projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b66d6b1
)
doc: add missing property in cluster example
author
Rafael Cepeda
<rcepeda1993@gmail.com>
Thu, 18 Feb 2016 17:56:05 +0000
(11:56 -0600)
committer
Myles Borins
<mborins@us.ibm.com>
Mon, 21 Mar 2016 19:57:56 +0000
(12:57 -0700)
`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>
doc/api/cluster.markdown
patch
|
blob
|
history
diff --git
a/doc/api/cluster.markdown
b/doc/api/cluster.markdown
index 215e48b12a42868d86ea2bd5bd92571941d2463b..186beb99ddd4a31c6051d75a559dc62ebe1cf06f 100644
(file)
--- a/
doc/api/cluster.markdown
+++ b/
doc/api/cluster.markdown
@@
-624,6
+624,7
@@
cluster.setupMaster({
});
cluster.fork(); // https worker
cluster.setupMaster({
+ exec: 'worker.js',
args: ['--use', 'http']
});
cluster.fork(); // http worker