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 #1063 from poolifier/dependabot/npm_and_yarn/examples/typescript...
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
abstract-worker-choice-strategy.ts
diff --git
a/src/pools/selection-strategies/abstract-worker-choice-strategy.ts
b/src/pools/selection-strategies/abstract-worker-choice-strategy.ts
index ca3d9b9d640fc6bf0faedfe3105d5751802281e1..3c41dd6ffee305c8eb2f51f593df022d8889745b 100644
(file)
--- a/
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
+++ b/
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
@@
-205,15
+205,10
@@
export abstract class AbstractWorkerChoiceStrategy<
/**
* Check the next worker node eligibility.
/**
* Check the next worker node eligibility.
- *
- * @param previousWorkerNodeKey - The previous worker node key.
*/
*/
- protected checkNextWorkerNodeEligibility (
- previousWorkerNodeKey: number | undefined
- ): void {
+ protected checkNextWorkerNodeEligibility (): void {
if (!this.isWorkerNodeEligible(this.nextWorkerNodeKey as number)) {
this.nextWorkerNodeKey = undefined
if (!this.isWorkerNodeEligible(this.nextWorkerNodeKey as number)) {
this.nextWorkerNodeKey = undefined
- this.setPreviousWorkerNodeKey(previousWorkerNodeKey)
}
}
}
}