Ppchelko has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/374629 )

Change subject: [Config] Set up the deduplicator config.
......................................................................


[Config] Set up the deduplicator config.

Depends on https://github.com/wikimedia/change-propagation/pull/197

Change-Id: Ic3c4fbe433e3a8def7050a09dfd13237b2611d32
---
M scap/templates/config.yaml.j2
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Ppchelko: Verified; Looks good to me, approved



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 9fde6f7..e1bb095 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -14,7 +14,7 @@
       x-modules:
         - path: src/sys/rate_limiter.js
           options:
-            redis:
+            redis: &redis_config
               path: <%= redis_path %>
               password: <%= redis_pass if redis_pass else '' %>
             limiters:
@@ -28,6 +28,11 @@
                 # errors per hour
                 - interval: 3600
                   limit: 10
+    /sys/dedupe:
+      x-modules:
+        - path: sys/deduplicator.js
+          options:
+            redis: *redis_config
 <%- endif %>
     /{api:sys}/purge:
       x-modules:

-- 
To view, visit https://gerrit.wikimedia.org/r/374629
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic3c4fbe433e3a8def7050a09dfd13237b2611d32
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/change-propagation/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: GWicke <gwi...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: Ppchelko <ppche...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to