interval update
This commit is contained in:
parent
a1539395c6
commit
c1fb4ecf39
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue