GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/217434

Change subject: Disable Parsoid cache updates
......................................................................

Disable Parsoid cache updates

Now that all active public wikis are enabled in RESTBase* and the major clients
are switched over, we can stop updating the Parsoid caches proactively. This
will halve the number of parse requests from template updates, and indirectly
lower the load on the API cluster and related infrastructure.

*: This should not be deployed before I10c8c37013d7, which actually enables
the remaining public & active wikis.

Bug: T93291
Change-Id: Ibea7fccce0f29992adc10eb5b2ba362335c447e3
---
M wmf-config/CommonSettings-labs.php
M wmf-config/CommonSettings.php
2 files changed, 0 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/34/217434/1

diff --git a/wmf-config/CommonSettings-labs.php 
b/wmf-config/CommonSettings-labs.php
index a2ebbbd..22abcb8 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -91,7 +91,6 @@
 
 if ( $wmgUseParsoid ) {
        $wmgParsoidURL = 'http://10.68.16.145'; // 
deployment-parsoidcache02.eqiad
-       $wgParsoidCacheServers = array ( 'http://10.68.16.145' ); // 
deployment-parsoidcache01.eqiad
 }
 
 if ( $wmgUseVisualEditor ) {
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 19bb955..6305af9 100755
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1971,33 +1971,10 @@
 }
 
 if ( $wmgUseParsoid ) {
-       require_once( "$IP/extensions/Parsoid/Parsoid.php" );
-
        $wmgParsoidURL = 'http://10.2.2.29'; // parsoidcache.svc.eqiad.wmnet
 
        // The wiki prefix to use
        $wgParsoidWikiPrefix = $wgDBname;
-
-       // List the parsoid cache servers to keep up to date.
-       //
-       // We target the load balancer in front of the front-end caches, which
-       // will then pick one front-end. This works as we disabled caching in 
the
-       // front-ends. The main reason for doing it this way is that request
-       // coalescing in the backends does not work with req.hash_always_miss =
-       // true.
-       $wgParsoidCacheServers = array(
-               'http://10.2.2.29', // parsoidcache.svc.eqiad.wmnet
-       );
-
-       // Load shedding knob, affects whether new Parsoid jobs are enqueued.
-       // Set to something between 0 (process all updates) and 1 (skip all 
updates).
-       $wgParsoidSkipRatio = 0;
-
-       // Throttle rate of template updates by setting the number of tests per
-       // job to something lowish, and limiting the maximum number of updates 
to
-       // process per template edit
-       $wgParsoidCacheUpdateTitlesPerJob = 12;
-       $wgParsoidMaxBacklinksInvalidate = 500000;
 }
 
 if ( $wmgUseVisualEditor ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibea7fccce0f29992adc10eb5b2ba362335c447e3
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: GWicke <gwi...@wikimedia.org>

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

Reply via email to