From 744946cb7baf699b204014e3af4d371c59227fbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 6 Jun 2023 22:07:13 +0200 Subject: [PATCH] fix: fix ELU computation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/abstract-pool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index b86a3b13..b93915c4 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -536,7 +536,7 @@ export abstract class AbstractPool< idle: workerTasksUsage.elu.idle + message.elu.idle, active: workerTasksUsage.elu.active + message.elu.active, utilization: - workerTasksUsage.elu.utilization + message.elu.utilization + (workerTasksUsage.elu.utilization + message.elu.utilization) / 2 } } else if (message.elu != null) { workerTasksUsage.elu = message.elu -- 2.34.1