X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FCommand%2FRedisWorkerCommand.php;h=2d06af44732c4480c698b95b3339f1af1039a62c;hb=f17b89fadce0a8c2280fbe1518d66f20dddce59d;hp=f793a31423d242e64a463e6f847c9a410c7c0448;hpb=1093e979ff49f9072c30d1d576c6adf1f8e76bdf;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Command/RedisWorkerCommand.php b/src/Wallabag/ImportBundle/Command/RedisWorkerCommand.php index f793a314..2d06af44 100644 --- a/src/Wallabag/ImportBundle/Command/RedisWorkerCommand.php +++ b/src/Wallabag/ImportBundle/Command/RedisWorkerCommand.php @@ -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();