Manual:$wgDBloads/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.4.0</tvar>.</translate> |
<translate> LoadBalancer settings</translate>: $wgDBloads | |
---|---|
数据库负载均衡器的权重。 |
|
<translate> Introduced in version:</translate> | 1.2.0 |
<translate> Removed in version:</translate> | 1.4.0 |
<translate> Allowed values:</translate> | (数字数组) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
细节
数据库负载均衡器的权重。 这些已链接到存储在$wgDBservers 中的值数。
例如
$wgDBservers = array("larousse", "pliny");
$wgDBloads = array(0.6, 0.4);