From 5bb549c368f760cfc17f561ab4169d9c59bb34d8 Mon Sep 17 00:00:00 2001 From: paladox Date: Thu, 5 Dec 2024 15:45:53 +0000 Subject: [PATCH] Add mcrouter-primary-dc (#5757) --- GlobalCache.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/GlobalCache.php b/GlobalCache.php index fa1ea010a0..9761e181ac 100644 --- a/GlobalCache.php +++ b/GlobalCache.php @@ -28,6 +28,11 @@ 'allow_tcp_nagle_delay' => false, ]; +$wgObjectCaches['mcrouter-primary-dc'] = array_merge( + $wgObjectCaches['mcrouter'], + [ 'routingPrefix' => "/wikitide/mw/" ] +); + $wgMirahezeMagicMemcachedServers = [ [ '10.0.15.113', 11211 ], [ '10.0.16.131', 11211 ], @@ -75,7 +80,7 @@ $wgMainStash = 'db-mainstash'; -$wgMicroStashType = 'mcrouter'; +$wgMicroStashType = 'mcrouter-primary-dc'; $wgObjectCaches['redis-session'] = [ 'class' => RedisBagOStuff::class,