repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa30fd
)
fix: fix ELU computation
author
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 6 Jun 2023 20:07:13 +0000
(22:07 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 6 Jun 2023 20:07:13 +0000
(22:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/pools/abstract-pool.ts
b/src/pools/abstract-pool.ts
index b86a3b13a6b538efb4024c0ebe8e49df22e4a1a8..b93915c48e31111b93eb2199ce50fd26dae222b6 100644
(file)
--- 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