From: Jérôme Benoit Date: Mon, 3 Jul 2023 09:59:46 +0000 (+0200) Subject: fix: cut&paste typo X-Git-Tag: v2.6.7~7^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1305e9a827a4c50935f3630cbcfc0e271aed71c3;p=poolifier.git fix: cut&paste typo Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 0069fb7f..232b0cc1 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -255,8 +255,8 @@ export abstract class AbstractPool< maxSize: this.maxSize, ...(this.workerChoiceStrategyContext.getTaskStatisticsRequirements() .runTime.aggregate && - this.workerChoiceStrategyContext.getTaskStatisticsRequirements().runTime - .aggregate && { utilization: round(this.utilization) }), + this.workerChoiceStrategyContext.getTaskStatisticsRequirements() + .waitTime.aggregate && { utilization: round(this.utilization) }), workerNodes: this.workerNodes.length, idleWorkerNodes: this.workerNodes.reduce( (accumulator, workerNode) =>