From 2c0d88e83e65033ab620841cd0d6790c03d53f38 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Sun, 29 Oct 2023 06:00:19 +0100 Subject: [PATCH] stream: remove no longer relevant comment Refs: https://github.com/nodejs/node/pull/50014 PR-URL: https://github.com/nodejs/node/pull/50446 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Yagiz Nizipli Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Moshe Atlow --- 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, }; }