jenkins-bot has submitted this change and it was merged.

Change subject: beta: send purges to both text and mobile caches
......................................................................


beta: send purges to both text and mobile caches

Also rename $wgHTCPMulticastRouting to $wgHTCPMulticast (requires
https://gerrit.wikimedia.org/r/#/c/71597/ which landed beta already).

Change-Id: I2d11efa0e8d0197784253359980d772bcc6f46c3
---
M wmf-config/squid-labs.php
1 file changed, 10 insertions(+), 6 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/squid-labs.php b/wmf-config/squid-labs.php
index 427eee6..2bc1478 100644
--- a/wmf-config/squid-labs.php
+++ b/wmf-config/squid-labs.php
@@ -11,17 +11,21 @@
 # The beta cluster does not have multicast, hence we route the purge
 # requests directly to the varnish instances.  They have varnishhtcpd listening
 # on UDP port 4827.
-$wgHTCPMulticastRouting = array(
+$wgHTCPRouting = array(
        '|^https?://upload\.beta\.wmflabs\.org|' => array(
                'host' => '10.4.0.211',  # deployment-cache-upload04
                'port' => 4827,
        ),
 
-       # bits?  10.4.0.51  # deployment-cache-bits03
-
-       # Fallback??
+       # Fallback  (text+mobile)
        '' => array(
-               'host' => '10.4.1.133',  # deployment-cache-text1
-               'port' => 4827,
+               array(
+                       'host' => '10.4.1.133',  # deployment-cache-text1
+                       'port' => 4827,
+               ),
+               array(
+                       'host' => '10.4.1.82',  # deployment-cache-mobile01
+                       'port' => 4827,
+               ),
        ),
 );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2d11efa0e8d0197784253359980d772bcc6f46c3
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to