diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-12-06 21:04:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 21:04:08 +0100 |
commit | 2d4b167038ed9e25ebf23eed53a4bc88f17a4b00 (patch) | |
tree | 50e2045255fbaa9e70e63d71b0b6084dff5a53e4 /src | |
parent | 558d5199b9c5020773872c81cb9428ba75f6f490 (diff) | |
parent | 7dc48ef820097d46382f54833f22e5b3bc2c492a (diff) | |
download | wallabag-2d4b167038ed9e25ebf23eed53a4bc88f17a4b00.tar.gz wallabag-2d4b167038ed9e25ebf23eed53a4bc88f17a4b00.tar.zst wallabag-2d4b167038ed9e25ebf23eed53a4bc88f17a4b00.zip |
Merge pull request #2686 from wallabag/fix-redis-import
Casted maxIterations for Redis import
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/ImportBundle/Command/RedisWorkerCommand.php | 2 |
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(); |