From 8b877099d03806dbc9839bac62b1db5bf5724e43 Mon Sep 17 00:00:00 2001 From: Jay Kim <48934750+jsk95@users.noreply.github.com> Date: Thu, 20 Jun 2024 20:59:14 +1200 Subject: [PATCH] stream: update outdated highwatermark doc PR-URL: https://github.com/nodejs/node/pull/53494 Reviewed-By: Moshe Atlow Reviewed-By: Marco Ippolito Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: Robert Nagy --- doc/api/stream.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index 28a4a05ef0db0a..59e781193eb411 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3422,7 +3422,7 @@ added: * Returns: {integer} Returns the default highWaterMark used by streams. -Defaults to `16384` (16 KiB), or `16` for `objectMode`. +Defaults to `65536` (64 KiB), or `16` for `objectMode`. ### `stream.setDefaultHighWaterMark(objectMode, value)`