We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d66ec commit b426a13Copy full SHA for b426a13
lib/internal/streams/transform.js
@@ -95,11 +95,11 @@ function Transform(options) {
95
...options,
96
highWaterMark: null,
97
readableHighWaterMark,
98
- // TODO (ronag) This is not optimal since we have
+ // TODO (ronag): 0 is not optimal since we have
99
// a "bug" where we check needDrain before calling _write and not after.
100
// Refs: https://github.com/nodejs/node/pull/32887
101
// Refs: https://github.com/nodejs/node/pull/35941
102
- writableHighWaterMark: 0
+ writableHighWaterMark: options.writableHighWaterMark || 0
103
};
104
}
105
0 commit comments