repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: ensure worker removal impact is propated to worker choice strategy
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
dynamic-pool-worker-choice-strategy.ts
diff --git
a/src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts
b/src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts
index c122c2b11e418aa0da2e2cdef34c344e520be163..1658d176e961eda3295547f55e7050c5a8478143 100644
(file)
--- a/
src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts
+++ b/
src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts
@@
-61,4
+61,9
@@
export class DynamicPoolWorkerChoiceStrategy<
// All workers are busy, create a new worker
return this.createWorkerCallback()
}
+
+ /** {@inheritDoc} */
+ public remove (workerKey: number): boolean {
+ return this.workerChoiceStrategy.remove(workerKey)
+ }
}