mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Remove MB_SECONDS from reduce function
This commit is contained in:
@@ -226,13 +226,6 @@ class Usage extends Action
|
||||
];
|
||||
}
|
||||
|
||||
if (!empty($buildsGBHours['value'])) {
|
||||
$metrics[] = [
|
||||
'key' => METRIC_BUILDS_MB_SECONDS,
|
||||
'value' => ($buildsGBHours['value'] * -1),
|
||||
];
|
||||
}
|
||||
|
||||
if (!empty($executions['value'])) {
|
||||
$metrics[] = [
|
||||
'key' => METRIC_EXECUTIONS,
|
||||
@@ -246,13 +239,6 @@ class Usage extends Action
|
||||
'value' => ($executionsCompute['value'] * -1),
|
||||
];
|
||||
}
|
||||
|
||||
if (!empty($executionsGBHours['value'])) {
|
||||
$metrics[] = [
|
||||
'key' => METRIC_EXECUTIONS_MB_SECONDS,
|
||||
'value' => ($executionsGBHours['value'] * -1),
|
||||
];
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user