Skip to content

Commit 27b3583

Browse files
ZYSzysrvagg
authored andcommitted
doc: make example more clarified in cluster.md
PR-URL: #23931 Refs: #23930 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
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)