diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-29 14:16:44 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-05-02 06:17:08 +0300 |
commit | 392d80a617fab8630e3f017076f1f59403db6470 (patch) | |
tree | 8569c662136f6b70e58612b0130ae7dbfb12e110 /doc/api/cluster.md | |
parent | 536b1fbd3ff38df3d5e8eb0b011820fd94f68b9d (diff) |
doc: add missing periods or colons
Some other formatting nits were fixed
and some superfluous descriptions were simplified in passing.
PR-URL: https://github.com/nodejs/node/pull/20401
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r-- | doc/api/cluster.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 04b9eac46c8..7c0baa36ff5 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -363,7 +363,7 @@ Each new worker is given its own unique id, this id is stored in the `id`. While a worker is alive, this is the key that indexes it in -cluster.workers +`cluster.workers`. ### worker.isConnected() <!-- YAML @@ -412,7 +412,7 @@ All workers are created using [`child_process.fork()`][], the returned object from this function is stored as `.process`. In a worker, the global `process` is stored. -See: [Child Process module][] +See: [Child Process module][]. Note that workers will call `process.exit(0)` if the `'disconnect'` event occurs on `process` and `.exitedAfterDisconnect` is not `true`. This protects against @@ -748,7 +748,7 @@ changes: description: The `stdio` option is supported now. --> -* `settings` {Object} see [`cluster.settings`][] +* `settings` {Object} See [`cluster.settings`][]. `setupMaster` is used to change the default 'fork' behavior. Once called, the settings will be present in `cluster.settings`. |