FIX: Loop frequency
This commit is contained in:
@ -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'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -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);
|
||||||
|
Reference in New Issue
Block a user