Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Feb 7, 2021
1 parent 6fbe870 commit f1f57a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class Pool extends EventEmitter {
this[kPending]++
} else {
client.dispatch(opts, handler)
if (this.busy) {
if (client.busy && this.busy) {
this[kNeedDrain] = true
}
}
Expand Down

0 comments on commit f1f57a9

Please sign in to comment.