From: Nicolas LÅ“uillet Date: Mon, 2 Dec 2019 11:36:05 +0000 (+0100) Subject: Fixed elCurator check for RabbitMQ / Redis X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F4213%2Fhead;p=github%2Fwallabag%2Fwallabag.git Fixed elCurator check for RabbitMQ / Redis --- diff --git a/src/Wallabag/ImportBundle/Controller/ImportController.php b/src/Wallabag/ImportBundle/Controller/ImportController.php index fbd7434e..5a7e53d6 100644 --- a/src/Wallabag/ImportBundle/Controller/ImportController.php +++ b/src/Wallabag/ImportBundle/Controller/ImportController.php @@ -43,6 +43,7 @@ class ImportController extends Controller + $this->getTotalMessageInRabbitQueue('chrome') + $this->getTotalMessageInRabbitQueue('instapaper') + $this->getTotalMessageInRabbitQueue('pinboard') + + $this->getTotalMessageInRabbitQueue('elcurator') ; } catch (\Exception $e) { $rabbitNotInstalled = true; @@ -59,6 +60,7 @@ class ImportController extends Controller + $redis->llen('wallabag.import.chrome') + $redis->llen('wallabag.import.instapaper') + $redis->llen('wallabag.import.pinboard') + + $redis->llen('wallabag.import.elcurator') ; } catch (\Exception $e) { $redisNotInstalled = true;