File tree 1 file changed +25
-1
lines changed
1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 66
66
'reportDupes ' => false
67
67
];
68
68
69
+ $ wgObjectCaches ['db-mainstash ' ] = [
70
+ 'class ' => 'SqlBagOStuff ' ,
71
+ 'cluster ' => 'extension2 ' ,
72
+ 'server ' => [
73
+ 'type ' => 'mysql ' ,
74
+ 'host ' => $ beta ? 'db121.miraheze.org ' : 'db131.miraheze.org ' ,
75
+ 'dbname ' => $ beta ? 'mainstash ' : 'mainstash ' ,
76
+ 'user ' => $ wgDBuser ,
77
+ 'password ' => $ wgDBpassword ,
78
+ 'ssl ' => true ,
79
+ 'flags ' => 0 ,
80
+ 'sslCAFile ' => '/etc/ssl/certs/Sectigo.crt ' ,
81
+ ],
82
+ 'dbDomain ' => 'mainstash ' ,
83
+ 'globalKeyLbDomain ' => 'mainstash ' ,
84
+ 'tableName ' => 'objectstash ' ,
85
+ 'multiPrimaryMode ' => true ,
86
+ 'purgePeriod ' => 100 ,
87
+ 'purgeLimit ' => 1000 ,
88
+ 'reportDupes ' => false
89
+ ];
90
+
91
+ $ wgMainStash = 'db-mainstash ' ;
92
+
69
93
$ wgSessionCacheType = 'memcached-mem-1 ' ;
70
94
71
95
// Same as $wgMainStash
72
- $ wgMWOAuthSessionCacheType = 'db-replicated ' ;
96
+ $ wgMWOAuthSessionCacheType = 'db-mainstash ' ;
73
97
74
98
$ redisServerIP = '[2a10:6740::6:306]:6379 ' ;
75
99
You can’t perform that action at this time.
0 commit comments