repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cfaaca
)
refactor: remove unneeded condition in measurement statistics code
author
Jérôme Benoit
<jerome.benoit@sap.com>
Wed, 5 Jul 2023 22:09:25 +0000
(
00:09
+0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Wed, 5 Jul 2023 22:09:25 +0000
(
00:09
+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 22c3562094953666b8368e1389353b5316e0d212..5b6c18747bf51e74bb5676052071ba69b8db3f9a 100644
(file)
--- a/
src/pools/abstract-pool.ts
+++ b/
src/pools/abstract-pool.ts
@@
-739,8
+739,7
@@
export abstract class AbstractPool<
}
if (
this.workerChoiceStrategyContext.getTaskStatisticsRequirements().elu
- .median &&
- message.taskPerformance?.elu != null
+ .median
) {
workerUsage.elu.idle.history.push(message.taskPerformance.elu.idle)
workerUsage.elu.active.history.push(