Skip to content

Commit eb930d7

Browse files
committed
fixup: allow overriding writableHighWaterMark
1 parent 71d66ec commit eb930d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/streams/transform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function Transform(options) {
9999
// a "bug" where we check needDrain before calling _write and not after.
100100
// Refs: https://github.com/nodejs/node/pull/32887
101101
// Refs: https://github.com/nodejs/node/pull/35941
102-
writableHighWaterMark: 0
102+
writableHighWaterMark: options.writableHighWaterMark || 0
103103
};
104104
}
105105

0 commit comments

Comments
 (0)