Jump to content

Manual:$wgDBloads

From mediawiki.org
LoadBalancer settings: $wgDBloads
Weights for database load balancer.
Introduced in version:1.2.0
Removed in version:1.4.0
Allowed values:(array of numbers)
Default value:false

Details

Weights for database load balancer. These are linked to the values stored in $wgDBservers .

e.g.

$wgDBservers = array("larousse", "pliny");
$wgDBloads = array(0.6, 0.4);

See also