From 9d5bb3f1425c2762ce660077276e1e15b9d10a34 Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Tue, 18 Jun 2024 15:04:52 +1200 Subject: [PATCH 1/3] stream: update outdated highwatermark doc --- 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 9539457daf8749..bf02f0867cbde0 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3428,7 +3428,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)` From 59771836eb12ae3481524f0f5cc84588965bb353 Mon Sep 17 00:00:00 2001 From: Jay Kim <48934750+jsk95@users.noreply.github.com> Date: Tue, 18 Jun 2024 18:09:46 +1200 Subject: [PATCH 2/3] stream: update doc for new default high water mark Co-authored-by: jakecastelli <38635403+jakecastelli@users.noreply.github.com> --- 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 bf02f0867cbde0..66a3e3b2cb743a 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3428,7 +3428,7 @@ added: * Returns: {integer} Returns the default highWaterMark used by streams. -Defaults to `65536` (64 KiB), or `16` for `objectMode`. +Defaults to `65536` (64 KiB), or `16384` (16 KiB) for `objectMode`. ### `stream.setDefaultHighWaterMark(objectMode, value)` From 222ea9835c4d107c45dde5c4ac2271f5c042386d Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Tue, 18 Jun 2024 18:39:43 +1200 Subject: [PATCH 3/3] stream: update outdated highwatermark doc --- 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 66a3e3b2cb743a..bf02f0867cbde0 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3428,7 +3428,7 @@ added: * Returns: {integer} Returns the default highWaterMark used by streams. -Defaults to `65536` (64 KiB), or `16384` (16 KiB) for `objectMode`. +Defaults to `65536` (64 KiB), or `16` for `objectMode`. ### `stream.setDefaultHighWaterMark(objectMode, value)`