Commit a4f0b13
committed
cluster: support stdio option for workers
This commit allows setupMaster() to configure the stdio channels
for worker processes.
Refs: nodejs/node-v0.x-archive#5727
Refs: #7811
PR-URL: #7838
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 0094adc commit a4f0b13Copy full SHA for a4f0b13
File tree
Expand file treeCollapse file tree
3 files changed
+46
-0
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+46
-0
lines changedOpen diff view settings
Collapse file
+5Lines changed: 5 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
626 | 626 | |
627 | 627 | |
628 | 628 | |
| 629 | + |
| 630 | + |
| 631 | + |
629 | 632 | |
630 | 633 | |
631 | 634 | |
| ||
642 | 645 | |
643 | 646 | |
644 | 647 | |
| 648 | + |
| 649 | + |
645 | 650 | |
646 | 651 | |
647 | 652 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
321 | 321 | |
322 | 322 | |
323 | 323 | |
| 324 | + |
324 | 325 | |
325 | 326 | |
326 | 327 | |
|
Collapse file
test/parallel/test-cluster-fork-stdio.js
Copy file name to clipboard+40Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
0 commit comments