Skip to content

Commit

Permalink
refactor: code cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
  • Loading branch information
jerome-benoit committed May 20, 2024
1 parent 90f764a commit 49e9b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pools/abstract-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ export abstract class AbstractPool<
workerUsage.tasks.executing === 0) ||
(this.opts.enableTasksQueue === true &&
workerInfo != null &&
workerInfo.stealing === false &&
!workerInfo.stealing &&
workerUsage.tasks.executing === 0 &&
this.tasksQueueSize(localWorkerNodeKey) === 0)))
) {
Expand Down

0 comments on commit 49e9b43

Please sign in to comment.