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
path: root/doc
diff options
context:
space:
mode:
authorZYSzys <17367077526@163.com>2018-10-28 04:23:50 +0300
committerRod Vagg <rod@vagg.org>2018-11-28 03:26:48 +0300
commit27b35833bdca9a116262f6910be83480b4ad3b04 (patch)
treeff2f7c8e2d9c0b01e139628da0ef622c36d2dbde /doc
parentb1e6de80c1b9c1fdf69cfc3af8701e53c9fe785c (diff)
doc: make example more clarified in cluster.md
PR-URL: https://github.com/nodejs/node/pull/23931 Refs: https://github.com/nodejs/node/issues/23930 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cluster.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 15ffb239ed3..50677f62ec5 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -198,8 +198,8 @@ Within a worker, `process.on('message')` may also be used.
See [`process` event: `'message'`][].
-As an example, here is a cluster that keeps count of the number of requests
-in the master process using the message system:
+Here is an example using the message system. It keeps a count in the master
+process of the number of HTTP requests received by the workers:
```js
const cluster = require('cluster');