Skip to content

Commit 27b3583

Browse files
ZYSzysrvagg
authored andcommittedNov 28, 2018
doc: make example more clarified in cluster.md
PR-URL: #23931 Refs: #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>
1 parent b1e6de8 commit 27b3583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/api/cluster.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ Within a worker, `process.on('message')` may also be used.
198198

199199
See [`process` event: `'message'`][].
200200

201-
As an example, here is a cluster that keeps count of the number of requests
202-
in the master process using the message system:
201+
Here is an example using the message system. It keeps a count in the master
202+
process of the number of HTTP requests received by the workers:
203203

204204
```js
205205
const cluster = require('cluster');

0 commit comments

Comments
 (0)
Please sign in to comment.