From 49d6dc9f4303701a0342d54858da010ef70894ac Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Sat, 28 Oct 2023 15:21:04 +0200 Subject: [PATCH] stream: remove no longer relevant comment Refs: https://github.com/nodejs/node/pull/50014 --- lib/internal/streams/transform.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/internal/streams/transform.js b/lib/internal/streams/transform.js index 02646f44344901..42e1adda618b87 100644 --- a/lib/internal/streams/transform.js +++ b/lib/internal/streams/transform.js @@ -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, }; }