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 <benjamingr@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
  • 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.