Příručka:$wgAlternateMaster
Appearance
![]() | Tato funkce byla ve verzi 1.13.0 zcela odstraněna. |
Nastavení LoadBalanceru: $wgAlternateMaster | |
---|---|
A map of database name to connection index. |
|
Zavedeno od verze: | 1.10.0 |
Odstraněno od verze: | 1.13.0 |
Povolené hodnoty: | (pole) |
Výchozí hodnota: | array() |
Další nastavení: Podle abecedy | Podle funkce |
Details
A map of database name (key) to connection index (value), describing the master database server for each database. The connection index is an index into the $wgDBservers array. If a database is not listed here, the default load balancing settings will be used.
To use this feature in 1.13 and above, you have to customize $wgLBFactoryConf and use LBFactory_Multi
as class.