Browse Source

fix status check being wrong for stats

session-estimator
Mathias Buus 4 years ago
parent
commit
5bf735d6e8
  1. 2
      lib/query.js

2
lib/query.js

@ -137,7 +137,7 @@ module.exports = class Query extends Readable {
}
_onvisit (m) {
if (m.status === 1) this.successes++
if (m.status === 0) this.successes++
else this.errors++
this.inflight--

Loading…
Cancel
Save