Commit ffab924
doc: suggest worker threads in cluster docs
The current documentation is incorrect in that it says "A single
instance of Node.js runs in a single thread," which is not true due
to the addition of worker threads.
This patch removes the incorrect statement and instead suggests that
applications consider using worker threads when process isolation is
not needed.
Refs: #20876
PR-URL: #41616
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>1 parent ea6c202 commit ffab924Copy full SHA for ffab924
File tree
Expand file treeCollapse file tree
1 file changed
+5
-3
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+5
-3
lines changedOpen diff view settings
Collapse file
+5-3Lines changed: 5 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
10 | | - |
11 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
| ||
1121 | 1122 | |
1122 | 1123 | |
1123 | 1124 | |
| 1125 | + |
0 commit comments