Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ 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:
in the master process using the message system.

Note that when this example running, you need to open browser and visit `http://localhost:8000`
or open another terminal window and run `curl http://localhost:8000` to see `numReqs` increasing.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the new sentence is necessary with the changes to the existing sentence.


```js
const cluster = require('cluster');
Expand Down