]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
Send every imported item to the queue
[github/wallabag/wallabag.git] / app / config / config.yml
index 30fd60636376415c91c0da22cfa638090cf2ac8e..fa8296375f9ff0d3761d526c92fd6f5f8b7a96ab 100644 (file)
@@ -49,6 +49,7 @@ wallabag_core:
     language: en
     rss_limit: 50
     reading_speed: 1
+    cache_lifetime: 10
 
 wallabag_user:
     registration_enabled: "%fosuser_registration%"
@@ -214,3 +215,28 @@ lexik_maintenance:
     response:
         code: 503
         status: "wallabag Service Temporarily Unavailable"
+
+old_sound_rabbit_mq:
+    connections:
+        default:
+            host:     "%rabbitmq_host%"
+            port:     "%rabbitmq_port%"
+            user:     "%rabbitmq_user%"
+            password: "%rabbitmq_password%"
+            vhost:    /
+            lazy:     true
+    producers:
+        wallabag_pocket:
+            connection: default
+            exchange_options:
+                name: 'wallabag.import.pocket'
+                type: topic
+    consumers:
+        wallabag_pocket:
+            connection: default
+            exchange_options:
+                name: 'wallabag.import.pocket'
+                type: topic
+            queue_options:
+                name: 'wallabag.import.pocket'
+            callback: wallabag_import.consumer.pocket