Skip to content

Commit 784c825

Browse files
iskeraduh95
authored andcommitted
doc: remove outdated remarks about highWaterMark in fs
`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>
1 parent 8eb5359 commit 784c825

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

doc/api/fs.md

-6
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,6 @@ added: v16.11.0
270270
* `signal` {AbortSignal|undefined} **Default:** `undefined`
271271
* Returns: {fs.ReadStream}
272272
273-
Unlike the 16 KiB default `highWaterMark` for a {stream.Readable}, the stream
274-
returned by this method has a default `highWaterMark` of 64 KiB.
275-
276273
`options` can include `start` and `end` values to read a range of bytes from
277274
the file instead of the entire file. Both `start` and `end` are inclusive and
278275
start counting at 0, allowed values are in the
@@ -2551,9 +2548,6 @@ changes:
25512548
* `signal` {AbortSignal|null} **Default:** `null`
25522549
* Returns: {fs.ReadStream}
25532550
2554-
Unlike the 16 KiB default `highWaterMark` for a {stream.Readable}, the stream
2555-
returned by this method has a default `highWaterMark` of 64 KiB.
2556-
25572551
`options` can include `start` and `end` values to read a range of bytes from
25582552
the file instead of the entire file. Both `start` and `end` are inclusive and
25592553
start counting at 0, allowed values are in the

0 commit comments

Comments
 (0)