Skip to content

Commit 80c0ab9

Browse files
committed
refactor: cleanup dynamic worker node listener
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent 8592606 commit 80c0ab9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/pools/abstract-pool.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,8 +1695,6 @@ export abstract class AbstractPool<
16951695
this.isWorkerNodeIdle(localWorkerNodeKey) &&
16961696
!this.isWorkerNodeStealing(localWorkerNodeKey))
16971697
) {
1698-
// Flag the worker node as not ready immediately
1699-
this.flagWorkerNodeAsNotReady(localWorkerNodeKey)
17001698
this.destroyWorkerNode(localWorkerNodeKey).catch((error) => {
17011699
this.eventTarget?.dispatchEvent(
17021700
new ErrorEvent(PoolEvents.error, { error }),

0 commit comments

Comments
 (0)