feat: update branch

This commit is contained in:
Christy Jacob
2022-11-22 14:10:41 +00:00
parent 8ea6647b22
commit dd8a64b3a3
2 changed files with 1 additions and 32 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class Usage extends Action
$errorLogger = fn(Throwable $error, string $action = 'syncUsageStats') => $logError($error, "usage", $action);
$interval = (int) App::getEnv('_APP_USAGE_TIMESERIES_INTERVAL', '30'); // 30 seconds (by default)
$interval = (int) App::getEnv('_APP_USAGE_AGGREGATION_INTERVAL', '30'); // 30 seconds (by default)
$region = App::getEnv('region', 'default');
$usage = new TimeSeries($region, $dbForConsole, $influxDB, $getProjectDB, $register, $errorLogger);