aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-15 21:58:20 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-12-15 22:23:28 +0100
commit881b0578e782e947706124a4e1d625a3dd3ddc1c (patch)
treecf9c44de0de17cf9fade187ad7ba8f08bce0cc2f /app
parent99712e5d8509e624b2c81dfd10226babad446a23 (diff)
downloadwallabag-881b0578e782e947706124a4e1d625a3dd3ddc1c.tar.gz
wallabag-881b0578e782e947706124a4e1d625a3dd3ddc1c.tar.zst
wallabag-881b0578e782e947706124a4e1d625a3dd3ddc1c.zip
Moved RabbitMQ QoS to parameters
Diffstat (limited to 'app')
-rw-r--r--app/config/config.yml16
-rw-r--r--app/config/parameters.yml.dist1
2 files changed, 9 insertions, 8 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 2dd5c1de..591b5294 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -300,7 +300,7 @@ old_sound_rabbit_mq:
300 queue_options: 300 queue_options:
301 name: 'wallabag.import.pocket' 301 name: 'wallabag.import.pocket'
302 callback: wallabag_import.consumer.amqp.pocket 302 callback: wallabag_import.consumer.amqp.pocket
303 qos_options: {prefetch_count: 10} 303 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
304 import_readability: 304 import_readability:
305 connection: default 305 connection: default
306 exchange_options: 306 exchange_options:
@@ -309,7 +309,7 @@ old_sound_rabbit_mq:
309 queue_options: 309 queue_options:
310 name: 'wallabag.import.readability' 310 name: 'wallabag.import.readability'
311 callback: wallabag_import.consumer.amqp.readability 311 callback: wallabag_import.consumer.amqp.readability
312 qos_options: {prefetch_count: 10} 312 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
313 import_instapaper: 313 import_instapaper:
314 connection: default 314 connection: default
315 exchange_options: 315 exchange_options:
@@ -318,7 +318,7 @@ old_sound_rabbit_mq:
318 queue_options: 318 queue_options:
319 name: 'wallabag.import.instapaper' 319 name: 'wallabag.import.instapaper'
320 callback: wallabag_import.consumer.amqp.instapaper 320 callback: wallabag_import.consumer.amqp.instapaper
321 qos_options: {prefetch_count: 10} 321 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
322 import_pinboard: 322 import_pinboard:
323 connection: default 323 connection: default
324 exchange_options: 324 exchange_options:
@@ -327,7 +327,7 @@ old_sound_rabbit_mq:
327 queue_options: 327 queue_options:
328 name: 'wallabag.import.pinboard' 328 name: 'wallabag.import.pinboard'
329 callback: wallabag_import.consumer.amqp.pinboard 329 callback: wallabag_import.consumer.amqp.pinboard
330 qos_options: {prefetch_count: 10} 330 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
331 import_wallabag_v1: 331 import_wallabag_v1:
332 connection: default 332 connection: default
333 exchange_options: 333 exchange_options:
@@ -336,7 +336,7 @@ old_sound_rabbit_mq:
336 queue_options: 336 queue_options:
337 name: 'wallabag.import.wallabag_v1' 337 name: 'wallabag.import.wallabag_v1'
338 callback: wallabag_import.consumer.amqp.wallabag_v1 338 callback: wallabag_import.consumer.amqp.wallabag_v1
339 qos_options: {prefetch_count: 10} 339 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
340 import_wallabag_v2: 340 import_wallabag_v2:
341 connection: default 341 connection: default
342 exchange_options: 342 exchange_options:
@@ -345,7 +345,7 @@ old_sound_rabbit_mq:
345 queue_options: 345 queue_options:
346 name: 'wallabag.import.wallabag_v2' 346 name: 'wallabag.import.wallabag_v2'
347 callback: wallabag_import.consumer.amqp.wallabag_v2 347 callback: wallabag_import.consumer.amqp.wallabag_v2
348 qos_options: {prefetch_count: 10} 348 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
349 import_firefox: 349 import_firefox:
350 connection: default 350 connection: default
351 exchange_options: 351 exchange_options:
@@ -354,7 +354,7 @@ old_sound_rabbit_mq:
354 queue_options: 354 queue_options:
355 name: 'wallabag.import.firefox' 355 name: 'wallabag.import.firefox'
356 callback: wallabag_import.consumer.amqp.firefox 356 callback: wallabag_import.consumer.amqp.firefox
357 qos_options: {prefetch_count: 10} 357 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
358 import_chrome: 358 import_chrome:
359 connection: default 359 connection: default
360 exchange_options: 360 exchange_options:
@@ -363,7 +363,7 @@ old_sound_rabbit_mq:
363 queue_options: 363 queue_options:
364 name: 'wallabag.import.chrome' 364 name: 'wallabag.import.chrome'
365 callback: wallabag_import.consumer.amqp.chrome 365 callback: wallabag_import.consumer.amqp.chrome
366 qos_options: {prefetch_count: 10} 366 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
367 367
368fos_js_routing: 368fos_js_routing:
369 routes_to_expose: 369 routes_to_expose:
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist
index a4dc0bde..97f51ed1 100644
--- a/app/config/parameters.yml.dist
+++ b/app/config/parameters.yml.dist
@@ -49,6 +49,7 @@ parameters:
49 rabbitmq_port: 5672 49 rabbitmq_port: 5672
50 rabbitmq_user: guest 50 rabbitmq_user: guest
51 rabbitmq_password: guest 51 rabbitmq_password: guest
52 rabbitmq_prefetch_count: 10
52 53
53 # Redis processing 54 # Redis processing
54 redis_scheme: tcp 55 redis_scheme: tcp