]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #2686 from wallabag/fix-redis-import
authorJeremy Benoist <j0k3r@users.noreply.github.com>
Tue, 6 Dec 2016 20:04:08 +0000 (21:04 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Dec 2016 20:04:08 +0000 (21:04 +0100)
Casted maxIterations for Redis import

src/Wallabag/ImportBundle/Command/RedisWorkerCommand.php

index f793a31423d242e64a463e6f847c9a410c7c0448..2d06af44732c4480c698b95b3339f1af1039a62c 100644 (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();