repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2343 from poolifier/combined-prs-branch
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
round-robin-worker-choice-strategy.ts
diff --git
a/src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
b/src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
index 53f3ba4fd36c0ee70f0918889e5a5edd9708645b..83126d97847887d9a079cc6f875077b1494729c9 100644
(file)
--- a/
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
+++ b/
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
@@
-52,6
+52,7
@@
export class RoundRobinWorkerChoiceStrategy<
public remove (workerNodeKey: number): boolean {
if (this.pool.workerNodes.length === 0) {
this.reset()
public remove (workerNodeKey: number): boolean {
if (this.pool.workerNodes.length === 0) {
this.reset()
+ return true
}
if (
this.nextWorkerNodeKey === workerNodeKey &&
}
if (
this.nextWorkerNodeKey === workerNodeKey &&