Usage logs text update

This commit is contained in:
shimon
2024-02-10 10:34:44 +02:00
parent ff93957922
commit b09386727b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class Usage extends Action
$this->keys >= self::KEYS_THRESHOLD ||
(time() - $this->lastTriggeredTime > $aggregationInterval && $this->keys > 0)
) {
console::log('[' . DateTime::now() . '] stats aggregation sent to worker with ' . $this->keys . ' keys');
console::warning('[' . DateTime::now() . '] Aggregated ' . $this->keys . ' keys');
$queueForUsageDump
->setStats($this->stats)
+1 -1
View File
@@ -64,7 +64,7 @@ class UsageDump extends Action
continue;
}
console::log('[' . DateTime::now() . '] aggregation received project [' . $project->getInternalId() . '] database [' . $project['database'] . '] ' . $numberOfKeys . ' keys');
console::log('[' . DateTime::now() . '] ProjectId [' . $project->getInternalId() . '] Database [' . $project['database'] . '] ' . $numberOfKeys . ' keys');
try {
$dbForProject = $getProjectDB($project);