This commit is contained in:
shimon
2025-03-18 21:49:28 +02:00
parent ee09e2c91b
commit eb4340cf4c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ services:
- _APP_LOGGING_CONFIG
- _APP_USAGE_AGGREGATION_INTERVAL
- _APP_DATABASE_SHARED_TABLES
-
appwrite-worker-stats-usage:
entrypoint: worker-stats-usage
<<: *x-logging
@@ -157,7 +157,7 @@ class StatsUsageDump extends Action
'time' => $time,
'metric' => $key,
'value' => $value,
'region' => System::getEnv('_APP_REGION', 'default')
'region' => System::getEnv('_APP_REGION', 'default'),
]);
$documentClone = new Document($document->getArrayCopy());
@@ -191,7 +191,7 @@ class StatsUsageDump extends Action
'time' => $time,
'metric' => $key,
'value' => $value,
'region' => System::getEnv('_APP_REGION', 'default')
'region' => System::getEnv('_APP_REGION', 'default'),
]);
$documentClone = new Document($document->getArrayCopy());
$dbForProject->createOrUpdateDocumentsWithIncrease(