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 #52037.

PR-URL: #55462
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
isker authored and marco-ippolito committed Jan 22, 2025
1 parent b2ced1c commit ea557e9
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 @@ -268,9 +268,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 @@ -2473,9 +2470,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 ea557e9

Please sign in to comment.