Permalink
Browse files

added highWaterMark option to cross refference bufferSize

  • Loading branch information...
1 parent 8312e6c commit 36306fb17578fb5a6962b0f9a0ac9ecd57f0a183 @blakmatrix blakmatrix committed Jul 17, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/buffered-reader.js
@@ -213,6 +213,7 @@ var DataReader = function (fileName, settings){
this._settings = {
encoding: settings.encoding || null,
bufferSize: settings.bufferSize,
+ highWaterMark: settings.bufferSize,
start: 0
};
this._fileName = fileName;

0 comments on commit 36306fb

Please sign in to comment.