repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: factor out worker runtime getter
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
less-used-worker-choice-strategy.ts
diff --git
a/src/pools/selection-strategies/less-used-worker-choice-strategy.ts
b/src/pools/selection-strategies/less-used-worker-choice-strategy.ts
index 295493a494f842da32645f563469e5ba272eea3d..a8daa7b9f43d05e871cf38e0822cb986ba671239 100644
(file)
--- a/
src/pools/selection-strategies/less-used-worker-choice-strategy.ts
+++ b/
src/pools/selection-strategies/less-used-worker-choice-strategy.ts
@@
-27,7
+27,7
@@
export class LessUsedWorkerChoiceStrategy<
opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
) {
super(pool, opts)
opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
) {
super(pool, opts)
- this.
checkOption
s(this.opts)
+ this.
setRequiredStatistic
s(this.opts)
}
/** @inheritDoc */
}
/** @inheritDoc */