Merge pull request #2686 from wallabag/fix-redis-import

Casted maxIterations for Redis import
This commit is contained in:
Jeremy Benoist 2016-12-06 21:04:08 +01:00 committed by GitHub
commit 2d4b167038

View file

@ -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();