Skip to content

Commit

Permalink
refactor: @ronag suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Nagy <ronagy@icloud.com>
  • Loading branch information
metcoder95 and ronag committed Jul 13, 2023
1 parent 7f0cee8 commit 27130f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -889,8 +889,8 @@ class ThreadPool {
}

if (totalQueueSize >= totalCapacity) {
this.publicInterface.emit('needsDrain');
this.needsDrain = true;
this.publicInterface.emit('needsDrain');
}
}

Expand Down

0 comments on commit 27130f4

Please sign in to comment.