Ppchelko has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/395616 )
Change subject: Disable producing htmlCacheUpdate to redis for wiktionaries
......................................................................
Disable producing htmlCacheUpdate to redis for wiktionaries
Bug: T182023
Change-Id: I9849bccaea5cfed7ca95972ce78993569fb7b2e5
---
M wmf-config/InitialiseSettings.php
M wmf-config/jobqueue.php
2 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/16/395616/1
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index a6b1634..416bdfe 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -19476,6 +19476,14 @@
'votewiki' => false,
],
+
+// Temporary code for the first test of htmlCacheUpdate
+// on the EventBus JobQueue -disable old queue on wiktionaries only
+'wmgDisableHTMLCacheUpdateInRedis' => [
+ 'default' => false,
+ 'wiktionary' => true,
+],
+
'wmgUseCapiunto' => [
'default' => false,
'testwiki' => true,
diff --git a/wmf-config/jobqueue.php b/wmf-config/jobqueue.php
index ecde6b7..a685ac9 100644
--- a/wmf-config/jobqueue.php
+++ b/wmf-config/jobqueue.php
@@ -49,6 +49,9 @@
$wgJobTypeConf['RecordLintJob'] =
$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/395616
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9849bccaea5cfed7ca95972ce78993569fb7b2e5
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits