Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
pass the highWaterMark parameter through
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Aug 25, 2013
1 parent 17339ca commit 46da0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/read-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var Readable = require('stream').Readable || require('readable-stream').Read
, makeNoData = function () { return null }

function ReadStream (options, db, iteratorFactory) {
Readable.call(this, { objectMode: true })
Readable.call(this, { objectMode: true, highWaterMark: options.highWaterMark })

// purely to keep `db` around until we're done so it's not GCed if the user doesn't keep a ref
this._db = db
Expand Down

0 comments on commit 46da0bd

Please sign in to comment.