From 59c67fe3cda1163e4e3cf66a8ab16e7b6d72e6a3 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 25 Jun 2015 16:13:49 +0200 Subject: [PATCH] updated documentation for fs.createReadStream Reviewed-By: James M Snell PR-URL: https://github.com/joyent/node/pull/25591 --- doc/api/fs.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 9da32d37638727..3c5f6f9a0913cb 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -775,6 +775,10 @@ on Unix systems, it never was. Returns a new ReadStream object (See `Readable Stream`). +Be aware that, unlike the default value set for `highWaterMark` on a +readable stream (16kB), the stream returned by this method has a +default value of 64kB for the same parameter. + `options` is an object with the following defaults: { flags: 'r',