Skip to content

Commit

Permalink
Add mcrouter-primary-dc (#5757)
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Dec 5, 2024
1 parent b3beceb commit 5bb549c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion GlobalCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ],
Expand Down Expand Up @@ -75,7 +80,7 @@

$wgMainStash = 'db-mainstash';

$wgMicroStashType = 'mcrouter';
$wgMicroStashType = 'mcrouter-primary-dc';

$wgObjectCaches['redis-session'] = [
'class' => RedisBagOStuff::class,
Expand Down

0 comments on commit 5bb549c

Please sign in to comment.