Browse Source

Don't pass concurrency as highWaterMark to Readable

v4
Andrew Osheroff 4 years ago
committed by Mathias Buus
parent
commit
51e3da5fd7
  1. 3
      lib/query-stream.js

3
lib/query-stream.js

@ -14,8 +14,7 @@ class QueryStream extends Readable {
if (!opts.concurrency) opts.concurrency = opts.highWaterMark || node.concurrency
super({
objectMode: true,
highWaterMark: opts.concurrency
objectMode: true
})
const cmd = node._commands.get(command)

Loading…
Cancel
Save