mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
Casted maxIterations for Redis import
Simpleue\Worker wants an integer, we gave it a string
This commit is contained in:
parent
4a1f963531
commit
7dc48ef820
@ -36,7 +36,7 @@ class RedisWorkerCommand extends ContainerAwareCommand
|
||||
$worker = new QueueWorker(
|
||||
$this->getContainer()->get('wallabag_import.queue.redis.'.$serviceName),
|
||||
$this->getContainer()->get('wallabag_import.consumer.redis.'.$serviceName),
|
||||
$input->getOption('maxIterations')
|
||||
(int) $input->getOption('maxIterations')
|
||||
);
|
||||
|
||||
$worker->start();
|
||||
|
Loading…
Reference in New Issue
Block a user