]> 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 eb53fc5d45b5a819a08aa857c4f6237b6f5ce58d..fa8296375f9ff0d3761d526c92fd6f5f8b7a96ab 100644 (file)
@@ -51,6 +51,9 @@ wallabag_core:
     reading_speed: 1
     cache_lifetime: 10
 
+wallabag_user:
+    registration_enabled: "%fosuser_registration%"
+
 wallabag_import:
     allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
     resource_dir: "%kernel.root_dir%/../web/uploads/import"
@@ -212,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