Update src/Appwrite/CLI/Tasks/Usage.php

Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
Damodar Lohani
2022-11-14 15:35:49 +05:45
committed by GitHub
parent 2dea0ec3b8
commit ab7eb01438
-1
View File
@@ -32,7 +32,6 @@ class Usage extends Task
->callback(fn ($type, $dbForConsole, $influxDB, $logError) => $this->action($type, $dbForConsole, $influxDB, $logError));
}
protected function aggregateTimeseries(UtopiaDatabase $database, InfluxDatabase $influxDB, callable $logError): void
{
$interval = (int) App::getEnv('_APP_USAGE_TIMESERIES_INTERVAL', '30'); // 30 seconds (by default)