Skip to content

Commit 18b08f0

Browse files
pimlieMylesBorins
authored andcommitted
doc: add note about using cluster without networking
Although the primary use-case for the cluster module is networking, the module provides a generic master/worker interface that could also be used if you dont use networking at all. Currently the docs are a bit ambiguous about this as only the primary use-case is ever mentioned, this remark should clarify that the cluster module can also be used without disadvantages if you dont use networking. PR-URL: #17031 Refs: nodejs/help#970 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent fa01fe6 commit 18b08f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/cluster.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ will be dropped and new connections will be refused. Node.js does not
109109
automatically manage the number of workers, however. It is the application's
110110
responsibility to manage the worker pool based on its own needs.
111111

112-
112+
Although a primary use case for the `cluster` module is networking, it can
113+
also be used for other use cases requiring worker processes.
113114

114115
## Class: Worker
115116
<!-- YAML

0 commit comments

Comments
 (0)