Skip to content

Commit

Permalink
stream: remove no longer relevant comment
Browse files Browse the repository at this point in the history
Refs: #50014
PR-URL: #50446
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
  • Loading branch information
ronag authored and targos committed Nov 11, 2023
1 parent a90c6d6 commit 2c0d88e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/internal/streams/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ function Transform(options) {
...options,
highWaterMark: null,
readableHighWaterMark,
// TODO (ronag): 0 is not optimal since we have
// a "bug" where we check needDrain before calling _write and not after.
// Refs: https://github.com/nodejs/node/pull/32887
// Refs: https://github.com/nodejs/node/pull/35941
writableHighWaterMark: options.writableHighWaterMark || 0,
};
}
Expand Down

0 comments on commit 2c0d88e

Please sign in to comment.