forked from wallabag/wallabag
Casted maxIterations for Redis import
Simpleue\Worker wants an integer, we gave it a string
This commit is contained in:
@ -36,7 +36,7 @@ class RedisWorkerCommand extends ContainerAwareCommand
|
|||||||
$worker = new QueueWorker(
|
$worker = new QueueWorker(
|
||||||
$this->getContainer()->get('wallabag_import.queue.redis.'.$serviceName),
|
$this->getContainer()->get('wallabag_import.queue.redis.'.$serviceName),
|
||||||
$this->getContainer()->get('wallabag_import.consumer.redis.'.$serviceName),
|
$this->getContainer()->get('wallabag_import.consumer.redis.'.$serviceName),
|
||||||
$input->getOption('maxIterations')
|
(int) $input->getOption('maxIterations')
|
||||||
);
|
);
|
||||||
|
|
||||||
$worker->start();
|
$worker->start();
|
||||||
|
|||||||
Reference in New Issue
Block a user