Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-02 04:44:32 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-04 12:30:36 +0300
commit237cbe10fb82ba6ec69b14193a4a970e184306e7 (patch)
tree8fbbac215e1f9afcac524404e766c4157d8da145 /doc/api/cluster.md
parentf7049a20068dc8a7e904b7cdd3d5b307b595dd3a (diff)
doc,tools: formalize, unify, codify default values
PR-URL: https://github.com/nodejs/node/pull/19737 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r--doc/api/cluster.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 09558d299e4..66a4be91373 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -714,14 +714,14 @@ changes:
* {Object}
* `execArgv` {Array} List of string arguments passed to the Node.js
- executable. **Default:** `process.execArgv`
- * `exec` {string} File path to worker file. **Default:** `process.argv[1]`
+ executable. **Default:** `process.execArgv`.
+ * `exec` {string} File path to worker file. **Default:** `process.argv[1]`.
* `args` {Array} String arguments passed to worker.
- **Default:** `process.argv.slice(2)`
+ **Default:** `process.argv.slice(2)`.
* `cwd` {string} Current working directory of the worker process. **Default:**
- `undefined` (inherits from parent process)
+ `undefined` (inherits from parent process).
* `silent` {boolean} Whether or not to send output to parent's stdio.
- **Default:** `false`
+ **Default:** `false`.
* `stdio` {Array} Configures the stdio of forked processes. Because the
cluster module relies on IPC to function, this configuration must contain an
`'ipc'` entry. When this option is provided, it overrides `silent`.
@@ -732,7 +732,7 @@ changes:
number. By default each worker gets its own port, incremented from the
master's `process.debugPort`.
* `windowsHide` {boolean} Hide the forked processes console window that would
- normally be created on Windows systems. **Default:** `false`
+ normally be created on Windows systems. **Default:** `false`.
After calling `.setupMaster()` (or `.fork()`) this settings object will contain
the settings, including the default values.