From: Jérôme Benoit Date: Wed, 5 Apr 2023 17:40:46 +0000 (+0200) Subject: refactor: use class property if appropriate X-Git-Tag: v2.4.2~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6e7ad9cbdef0036358ad94bce2cdd19a307d158e;p=poolifier.git refactor: use class property if appropriate Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/selection-strategies/worker-choice-strategy-context.ts b/src/pools/selection-strategies/worker-choice-strategy-context.ts index 605cce38..97d08682 100644 --- a/src/pools/selection-strategies/worker-choice-strategy-context.ts +++ b/src/pools/selection-strategies/worker-choice-strategy-context.ts @@ -37,7 +37,7 @@ export class WorkerChoiceStrategyContext< this.execute.bind(this) this.workerChoiceStrategy = getWorkerChoiceStrategy( pool, - workerChoiceStrategyType + this.workerChoiceStrategyType ) }