aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Command
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-06 11:44:40 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-06 11:44:40 +0100
commit7dc48ef820097d46382f54833f22e5b3bc2c492a (patch)
tree6b2226b1ffcd5417123d33e072f8b2ff0a03bc27 /src/Wallabag/ImportBundle/Command
parent4a1f963531f04427f625f58bda45723c6e69a87c (diff)
downloadwallabag-7dc48ef820097d46382f54833f22e5b3bc2c492a.tar.gz
wallabag-7dc48ef820097d46382f54833f22e5b3bc2c492a.tar.zst
wallabag-7dc48ef820097d46382f54833f22e5b3bc2c492a.zip
Casted maxIterations for Redis import
Simpleue\Worker wants an integer, we gave it a string
Diffstat (limited to 'src/Wallabag/ImportBundle/Command')
-rw-r--r--src/Wallabag/ImportBundle/Command/RedisWorkerCommand.php2
1 files changed, 1 insertions, 1 deletions
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
36 $worker = new QueueWorker( 36 $worker = new QueueWorker(
37 $this->getContainer()->get('wallabag_import.queue.redis.'.$serviceName), 37 $this->getContainer()->get('wallabag_import.queue.redis.'.$serviceName),
38 $this->getContainer()->get('wallabag_import.consumer.redis.'.$serviceName), 38 $this->getContainer()->get('wallabag_import.consumer.redis.'.$serviceName),
39 $input->getOption('maxIterations') 39 (int) $input->getOption('maxIterations')
40 ); 40 );
41 41
42 $worker->start(); 42 $worker->start();