Ppchelko has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/404598 )

Change subject: [JobQueue] Enable htmlCacheUpdate on new infrastructure for all 
projects.
......................................................................

[JobQueue] Enable htmlCacheUpdate on new infrastructure for all projects.

Previously htmlCacheUpdate job was running on the new infrastructure
for all projects except enwiki, commons and wikidats. This change
switches processing of all the jobs to the new infrastructure.

Bug: T182023
Depends-On: Ibbe8c11b4177f9671c6cd4e0681e9851c8b999e5
Change-Id: I8072c59453c69e959d1b07a1809d72b853012985
---
M wmf-config/InitialiseSettings.php
M wmf-config/jobqueue.php
2 files changed, 5 insertions(+), 21 deletions(-)


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

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 9767eb5..649fa0e 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -19655,20 +19655,6 @@
        'votewiki' => false,
 ],
 
-// Temporary code for gradually integrating htmlCacheUpdate
-// jobs into the EventBus JobQueue - T182023
-// Step 2: enable everywhere but wikidata, enwiki and commons
-'wmgDisableHTMLCacheUpdateInRedis' => [
-       'default' => true,
-       'wikitech' => false,
-       'private' => false,
-       'loginwiki' => false,
-       'votewiki' => false,
-       'commonswiki' => false,
-       'enwiki' => false,
-       'wikidatawiki' => false,
-],
-
 'wmgUseCapiunto' => [
        'default' => false,
        'testwiki' => true,
diff --git a/wmf-config/jobqueue.php b/wmf-config/jobqueue.php
index a685ac9..29d6683 100644
--- a/wmf-config/jobqueue.php
+++ b/wmf-config/jobqueue.php
@@ -42,16 +42,14 @@
 ];
 
 if ( $wmgUseEventBus && $wmgDebugJobQueueEventBus ) {
-       $wgJobTypeConf['MessageIndexRebuildJob'] =
+       $wgJobTypeConf['deleteLinks'] =
                $wgJobTypeConf['flaggedrevs_CacheUpdate'] =
-               $wgJobTypeConf['deleteLinks'] =
-               $wgJobTypeConf['updateBetaFeaturesUserCounts'] =
+               $wgJobTypeConf['htmlCacheUpdate'] =
+               $wgJobTypeConf['MessageIndexRebuildJob'] =
                $wgJobTypeConf['RecordLintJob'] =
-               $wgJobTypeConf['wikibase-addUsagesForPage'] =
+               $wgJobTypeConf['updateBetaFeaturesUserCounts'] =
+               $wgJobTypeConf['wikibase-addUsagesForPage'] =
                        [ 'class' => 'JobQueueEventBus' ];
-       if ( $wmgDisableHTMLCacheUpdateInRedis ) {
-               $wgJobTypeConf['htmlCacheUpdate'] = [ 'class' => 
'JobQueueEventBus' ];
-       }
        $wgJobTypeConf['default'] = [
                'class' => 'JobQueueSecondTestQueue',
                'mainqueue' => $jobQueueFederatedConfig,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8072c59453c69e959d1b07a1809d72b853012985
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: 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