From 83a7247f12feb4f4d8ee558ad2c1528d26b503e0 Mon Sep 17 00:00:00 2001 From: Yusuke Kawasaki Date: Sat, 24 Nov 2018 17:42:09 +0900 Subject: doc: remove duplicate whitespaces in doc/api PR-URL: https://github.com/nodejs/node/pull/24628 Reviewed-By: Anna Henningsen Reviewed-By: Gireesh Punathil Reviewed-By: Vse Mozhet Byt --- doc/api/cluster.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/api/cluster.md') diff --git a/doc/api/cluster.md b/doc/api/cluster.md index ab7f45154d..a84e301d0e 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -92,7 +92,7 @@ Node.js process and a cluster worker differs: the worker to use the supplied handle, rather than talk to the master process. 3. `server.listen(0)` Normally, this will cause servers to listen on a - random port. However, in a cluster, each worker will receive the + random port. However, in a cluster, each worker will receive the same "random" port each time they do `listen(0)`. In essence, the port is random the first time, but predictable thereafter. To listen on a unique port, generate a port number based on the cluster worker ID. -- cgit v1.2.3