Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit d2743cb

Browse files
skypjackjasnell
authored andcommitted
updated documentation for fs.createReadStream
Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #25592
1 parent 386fd24 commit d2743cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api/fs.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,10 @@ on Unix systems, it never was.
775775

776776
Returns a new ReadStream object (See `Readable Stream`).
777777

778+
Be aware that, unlike the default value set for `highWaterMark` on a
779+
readable stream (16kB), the stream returned by this method has a
780+
default value of 64kB for the same parameter.
781+
778782
`options` is an object with the following defaults:
779783

780784
{ flags: 'r',

0 commit comments

Comments
 (0)