1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

interval update

This commit is contained in:
shimon 2024-02-08 21:41:23 +02:00
parent a1539395c6
commit c1fb4ecf39
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ class Usage extends Action
$this->keys >= self::KEYS_THRESHOLD ||
(time() - $this->lastTriggeredTime > $aggregationInterval && $this->keys > 0)
) {
console::warning('[' . DateTime::now() . '] stats aggregation sent to worker with ' . $this->keys . ' keys');
console::log('[' . DateTime::now() . '] stats aggregation sent to worker with ' . $this->keys . ' keys');
$queueForUsageDump
->setStats($this->stats)

View file

@ -64,7 +64,7 @@ class UsageDump extends Action
continue;
}
console::warning('[' . DateTime::now() . '] aggregation received project [' . $project->getInternalId() . '] database [' . $project['database'] . '] ' . $numberOfKeys . ' keys');
console::log('[' . DateTime::now() . '] aggregation received project [' . $project->getInternalId() . '] database [' . $project['database'] . '] ' . $numberOfKeys . ' keys');
try {
$dbForProject = $getProjectDB($project);