Manual:$wgDBloads/zh

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<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

细节

数据库负载均衡器的权重。 这些已链接到存储在$wgDBservers 中的值数。

例如

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

参见