forked from wallabag/wallabag
Enable Redis async import
- using javibravo/simpleue - internal config value are now `import_with_redis` & `import_with_rabbit` which are more clear - if both option are enable rabbit will be choosen - services imports related to async are now splitted into 2 files: `redis.yml` & `rabbit.yml` -
This commit is contained in:
30
src/Wallabag/ImportBundle/Resources/config/rabbit.yml
Normal file
30
src/Wallabag/ImportBundle/Resources/config/rabbit.yml
Normal file
@ -0,0 +1,30 @@
|
||||
# RabbitMQ stuff
|
||||
services:
|
||||
wallabag_import.consumer.ampq.pocket:
|
||||
class: Wallabag\ImportBundle\Consumer\AMPQEntryConsumer
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
- "@wallabag_user.user_repository"
|
||||
- "@wallabag_import.pocket.import"
|
||||
- "@logger"
|
||||
wallabag_import.consumer.ampq.readability:
|
||||
class: Wallabag\ImportBundle\Consumer\AMPQEntryConsumer
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
- "@wallabag_user.user_repository"
|
||||
- "@wallabag_import.readability.import"
|
||||
- "@logger"
|
||||
wallabag_import.consumer.ampq.wallabag_v1:
|
||||
class: Wallabag\ImportBundle\Consumer\AMPQEntryConsumer
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
- "@wallabag_user.user_repository"
|
||||
- "@wallabag_import.wallabag_v1.import"
|
||||
- "@logger"
|
||||
wallabag_import.consumer.ampq.wallabag_v2:
|
||||
class: Wallabag\ImportBundle\Consumer\AMPQEntryConsumer
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
- "@wallabag_user.user_repository"
|
||||
- "@wallabag_import.wallabag_v2.import"
|
||||
- "@logger"
|
||||
Reference in New Issue
Block a user