Skip to content

Commit

Permalink
stream: update outdated highwatermark doc
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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 eliphazbouye committed Jun 20, 2024
1 parent 74e5916 commit 2e6905d
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 @@ -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)`

Expand Down

0 comments on commit 2e6905d

Please sign in to comment.