File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 3131 // fall back to english otherwise
3232}
3333
34- if ( false && getenv ( 'CI ' ) !== 'true ' ) {
35- $ wgLBFactoryConf = [
36-
37- 'class ' => 'LBFactoryMulti ' ,
38-
39- 'sectionsByDB ' => [
40- 'my_wiki ' => 's1 ' ,
41- 'wiki_swmath ' => 's1 ' ,
42- ],
43-
44- 'sectionLoads ' => [
45- 's1 ' => [
46- 'mysql.svc ' => 0 ,
47- 'mysql-repl.svc ' => 50 , /* the 50 is the weight (of replica servers). Would matter if you had multiple */
48- ],
49- ],
50-
51- 'serverTemplate ' => [
52- 'dbname ' => $ wgDBname ,
53- 'user ' => $ wgDBuser ,
54- 'password ' => $ wgDBpassword ,
55- 'type ' => 'mysql ' ,
56- 'flags ' => DBO_DEFAULT ,
57- 'max lag ' => 30 ,
58- ],
59- ];
60- }
61-
6234if ( getenv ('DB_PRIMARY_IP ' ) && getenv ('DB_SECONDARY_IP ' ) ) {
6335 $ wgLBFactoryConf = array (
6436
You can’t perform that action at this time.
0 commit comments