diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-03 17:36:57 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-11 21:57:46 +0200 |
commit | ef75e1220ebb76a8df019d946460ad612759f0bb (patch) | |
tree | 100830464851d6834e1e24ccabca1961a862fcd8 /app/config/config.yml | |
parent | 87c9995b6c61a9f5cde3771bd4f9d44b5da26c43 (diff) | |
download | wallabag-ef75e1220ebb76a8df019d946460ad612759f0bb.tar.gz wallabag-ef75e1220ebb76a8df019d946460ad612759f0bb.tar.zst wallabag-ef75e1220ebb76a8df019d946460ad612759f0bb.zip |
Send every imported item to the queue
Instead of queing real Entry to process, we queue all the item to import from Pocket in a raw format.
Then, the worker retrieve that information, find / create the entry and save it.
Diffstat (limited to 'app/config/config.yml')
-rw-r--r-- | app/config/config.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index ef5ae0aa..fa829637 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -219,24 +219,24 @@ lexik_maintenance: | |||
219 | old_sound_rabbit_mq: | 219 | old_sound_rabbit_mq: |
220 | connections: | 220 | connections: |
221 | default: | 221 | default: |
222 | host: %rabbitmq_host% | 222 | host: "%rabbitmq_host%" |
223 | port: %rabbitmq_port% | 223 | port: "%rabbitmq_port%" |
224 | user: %rabbitmq_user% | 224 | user: "%rabbitmq_user%" |
225 | password: %rabbitmq_password% | 225 | password: "%rabbitmq_password%" |
226 | vhost: / | 226 | vhost: / |
227 | lazy: false | 227 | lazy: true |
228 | producers: | 228 | producers: |
229 | wallabag: | 229 | wallabag_pocket: |
230 | connection: default | 230 | connection: default |
231 | exchange_options: | 231 | exchange_options: |
232 | name: 'wallabag_exchange' | 232 | name: 'wallabag.import.pocket' |
233 | type: topic | 233 | type: topic |
234 | consumers: | 234 | consumers: |
235 | entries: | 235 | wallabag_pocket: |
236 | connection: default | 236 | connection: default |
237 | exchange_options: | 237 | exchange_options: |
238 | name: 'wallabag_exchange' | 238 | name: 'wallabag.import.pocket' |
239 | type: topic | 239 | type: topic |
240 | queue_options: | 240 | queue_options: |
241 | name: 'wallabag_queue' | 241 | name: 'wallabag.import.pocket' |
242 | callback: wallabag_import.consumer.entry | 242 | callback: wallabag_import.consumer.pocket |