streams2: Remove extraneous bufferSize setting
This commit is contained in:
parent
20a88feb8f
commit
854171dc6f
@ -32,9 +32,6 @@ util.inherits(Readable, Stream);
|
||||
function ReadableState(options, stream) {
|
||||
options = options || {};
|
||||
|
||||
// cast to an int
|
||||
this.bufferSize = ~~this.bufferSize;
|
||||
|
||||
// the argument passed to this._read(n,cb)
|
||||
this.bufferSize = options.hasOwnProperty('bufferSize') ?
|
||||
options.bufferSize : 16 * 1024;
|
||||
|
Loading…
x
Reference in New Issue
Block a user