Commit 0c6f345
stream: fix highwatermark threshold and add the missing error
1. Fix highwatermark threshold: `< 1GiB` -> `<= 1GiB`
2. Add the missing error: Size out of range
Update test/parallel/test-streams-highwatermark.js
Co-authored-by: Darshan Sen <raisinten@gmail.com>
PR-URL: #38700
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent b016d5d commit 0c6f345Copy full SHA for 0c6f345
File tree
Expand file treeCollapse file tree
2 files changed
+18
-3
lines changedOpen diff view settings
Filter options
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
2 files changed
+18
-3
lines changedOpen diff view settings
Collapse file
lib/internal/streams/readable.js
Copy file name to clipboardExpand all lines: lib/internal/streams/readable.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
| 65 | + |
65 | 66 | |
66 | 67 | |
67 | 68 | |
| ||
363 | 364 | |
364 | 365 | |
365 | 366 | |
366 | | - |
367 | | - |
368 | | - |
| 367 | + |
| 368 | + |
369 | 369 | |
370 | 370 | |
371 | 371 | |
|
Collapse file
test/parallel/test-streams-highwatermark.js
Copy file name to clipboardExpand all lines: test/parallel/test-streams-highwatermark.js+15Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
0 commit comments