diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-12-03 15:33:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 15:33:34 +0100 |
commit | 7b8f63f731a1fe116b3e35a3e5687bc3f4663543 (patch) | |
tree | 2e931282084b9dc43c0f4336f01af3d59965ee2f | |
parent | e32e6c27f12b301888b2a486ebb0251279936ff1 (diff) | |
parent | f3d20097cd4046519c921286f0a8a81dbd8c66ab (diff) | |
download | wallabag-7b8f63f731a1fe116b3e35a3e5687bc3f4663543.tar.gz wallabag-7b8f63f731a1fe116b3e35a3e5687bc3f4663543.tar.zst wallabag-7b8f63f731a1fe116b3e35a3e5687bc3f4663543.zip |
Merge pull request #4213 from wallabag/fix-elcurator
Fixed elCurator check for RabbitMQ / Redis
-rw-r--r-- | src/Wallabag/ImportBundle/Controller/ImportController.php | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
43 | + $this->getTotalMessageInRabbitQueue('chrome') | 43 | + $this->getTotalMessageInRabbitQueue('chrome') |
44 | + $this->getTotalMessageInRabbitQueue('instapaper') | 44 | + $this->getTotalMessageInRabbitQueue('instapaper') |
45 | + $this->getTotalMessageInRabbitQueue('pinboard') | 45 | + $this->getTotalMessageInRabbitQueue('pinboard') |
46 | + $this->getTotalMessageInRabbitQueue('elcurator') | ||
46 | ; | 47 | ; |
47 | } catch (\Exception $e) { | 48 | } catch (\Exception $e) { |
48 | $rabbitNotInstalled = true; | 49 | $rabbitNotInstalled = true; |
@@ -59,6 +60,7 @@ class ImportController extends Controller | |||
59 | + $redis->llen('wallabag.import.chrome') | 60 | + $redis->llen('wallabag.import.chrome') |
60 | + $redis->llen('wallabag.import.instapaper') | 61 | + $redis->llen('wallabag.import.instapaper') |
61 | + $redis->llen('wallabag.import.pinboard') | 62 | + $redis->llen('wallabag.import.pinboard') |
63 | + $redis->llen('wallabag.import.elcurator') | ||
62 | ; | 64 | ; |
63 | } catch (\Exception $e) { | 65 | } catch (\Exception $e) { |
64 | $redisNotInstalled = true; | 66 | $redisNotInstalled = true; |