repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: fix workey weights input validation
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
less-busy-worker-choice-strategy.ts
diff --git
a/src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
b/src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
index 40a3f649b2116eec3f25b4b07347a8c5134b2e77..f518f9b17f311ad3a8ad262e3b7e5f0be15cc61b 100644
(file)
--- a/
src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
+++ b/
src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
@@
-35,7
+35,7
@@
export class LessBusyWorkerChoiceStrategy<
opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
) {
super(pool, opts)
- this.
checkOption
s(this.opts)
+ this.
setRequiredStatistic
s(this.opts)
}
/** @inheritDoc */