Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/221885
Change subject: Set $wgMainStash to redis instead of the DB default
......................................................................
Set $wgMainStash to redis instead of the DB default
Bug: T88493
Change-Id: I3cb73c2ddbf74be1b99964adde136dc8c1ddc864
---
M wmf-config/CommonSettings.php
M wmf-config/mc.php
2 files changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/85/221885/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 04cda5a..9653a1e 100755
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -307,9 +307,12 @@
if ( $wgDBname === 'labswiki' ) {
$wgSessionCacheType = 'memcached-pecl';
$wgMessageCacheType = 'memcached-pecl';
+ $wgMainStash = 'memcached-pecl';
+
$wgCookieDomain = "wikitech.wikimedia.org";
} else {
$wgSessionCacheType = 'sessions';
+ $wgMainStash = 'sessions'; // mostly for tokens and user states (T88493)
}
$wgSessionsInObjectCache = true;
session_name( $lang . 'wikiSession' );
diff --git a/wmf-config/mc.php b/wmf-config/mc.php
old mode 100644
new mode 100755
--
To view, visit https://gerrit.wikimedia.org/r/221885
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3cb73c2ddbf74be1b99964adde136dc8c1ddc864
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits