Skip to content

Commit

Permalink
stream: update outdated highwatermark doc
Browse files Browse the repository at this point in the history
PR-URL: #53494
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Robert Nagy <[email protected]>
  • Loading branch information
jsk95 authored and targos committed Jun 20, 2024
1 parent 105b006 commit 8b87709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

Expand Down

0 comments on commit 8b87709

Please sign in to comment.