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 aduh95 committed Oct 23, 2024
1 parent 8eb5359 commit 784c825
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 784c825

Please sign in to comment.