Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated readable side highWaterMark to be forward-compatible with node.

Since joyent/node@ba72570, node's Stream will have a default watermark of 16 if in objectMode.
  • Loading branch information...
commit c254d8e1f8f4423fd5edc3ef8d6b37c63ae36129 1 parent 16e4f21
@PaulMougel PaulMougel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  main.js
View
2  main.js
@@ -69,7 +69,7 @@ function FeedParser (options) {
if (!(this instanceof FeedParser)) return new FeedParser(options);
TransformStream.call(this);
this._readableState.objectMode = true;
- this._readableState.highWaterMark = 100; // max. # of output nodes buffered
+ this._readableState.highWaterMark = 16; // max. # of output nodes buffered
this.init();
this.parseOpts(options);
Please sign in to comment.
Something went wrong with that request. Please try again.