FIX: Loop frequency

This commit is contained in:
Juan Pablo Vial
2025-06-03 13:01:40 -04:00
parent 3c161ed4e9
commit 2a442417ce
2 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ return [
return new Incoviba\Command\BaseLoop( return new Incoviba\Command\BaseLoop(
$container->get('LoopLogger'), $container->get('LoopLogger'),
$container->get(Incoviba\Service\Schedule::class), $container->get(Incoviba\Service\Schedule::class),
$container->get('loopFrequency'),
$container->get(DateTimeZone::class), $container->get(DateTimeZone::class),
$container->get('loopFrequency'),
); );
} }
]; ];

View File

@ -16,8 +16,8 @@ use Incoviba\Service\Schedule;
class BaseLoop extends Console\Command\Command class BaseLoop extends Console\Command\Command
{ {
public function __construct(protected LoggerInterface $logger, protected Schedule $scheduleService, public function __construct(protected LoggerInterface $logger, protected Schedule $scheduleService,
protected int $timeout = 5 * 60,
protected DateTimeZone $timezone, protected DateTimeZone $timezone,
protected int $timeout = 5 * 60,
?string $name = null) ?string $name = null)
{ {
parent::__construct($name); parent::__construct($name);