Skip to content

Commit

Permalink
doc: remove outdated remarks about highWaterMark in fs
Browse files Browse the repository at this point in the history
`Readable`'s `highWaterMark` has in fact been 64KiB since nodejs#52037.

PR-URL: nodejs#55462
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
isker authored and tpoisseau committed Nov 21, 2024
1 parent 29c2dbe commit 86a5796
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,6 @@ added: v16.11.0
* `signal` {AbortSignal|undefined} **Default:** `undefined`
* Returns: {fs.ReadStream}
Unlike the 16 KiB default `highWaterMark` for a {stream.Readable}, the stream
returned by this method has a default `highWaterMark` of 64 KiB.
`options` can include `start` and `end` values to read a range of bytes from
the file instead of the entire file. Both `start` and `end` are inclusive and
start counting at 0, allowed values are in the
Expand Down Expand Up @@ -2551,9 +2548,6 @@ changes:
* `signal` {AbortSignal|null} **Default:** `null`
* Returns: {fs.ReadStream}
Unlike the 16 KiB default `highWaterMark` for a {stream.Readable}, the stream
returned by this method has a default `highWaterMark` of 64 KiB.
`options` can include `start` and `end` values to read a range of bytes from
the file instead of the entire file. Both `start` and `end` are inclusive and
start counting at 0, allowed values are in the
Expand Down

0 comments on commit 86a5796

Please sign in to comment.