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 authored Jul 9, 2023
1 parent 6bb1b59 commit 50cf00e
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 50cf00e

Please sign in to comment.