mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
streams2: Remove extraneous bufferSize setting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user