repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: add worker choice strategies retry mechanism
[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 b023234a202cacc50b8f2505859e4e444bcf8f0f..55fa8ad73d4c7b7713a490cf07265e3634803779 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,7
+52,7
@@
export class RoundRobinWorkerChoiceStrategy<
const chosenWorkerNodeKey = this.nextWorkerNodeKey
do {
this.roundRobinNextWorkerNodeKey()
- } while (!this.isWorkerNode
Ready
(this.nextWorkerNodeKey))
+ } while (!this.isWorkerNode
Eligible
(this.nextWorkerNodeKey))
return chosenWorkerNodeKey
}