feat: add hamster background task
This commit is contained in:
parent
4672b31685
commit
5c1adf1f68
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class Hamster extends Action
|
|||
Console::title('Cloud Hamster V1');
|
||||
Console::success(APP_NAME . ' cloud hamster process v1 has started');
|
||||
|
||||
$interval = (int) App::getEnv('_APP_USAGE_AGGREGATION_INTERVAL', '30'); // 30 seconds (by default)
|
||||
$interval = (int) App::getEnv('_APP_HAMSTER_INTERVAL', '30'); // 30 seconds (by default)
|
||||
|
||||
Console::loop(function () use ($register, $pools, $cache, $dbForConsole, $interval) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue