改进 调度
This commit is contained in:
parent
20d3fc9f92
commit
f1a7909991
@ -183,7 +183,9 @@ while (true) {
|
||||
$temp_conf .= "server {$node['ip']}";
|
||||
|
||||
if (isset($node['weight'])) {
|
||||
if ($node['weight'] !== "0") {
|
||||
if ($node['weight'] === "0") {
|
||||
continue;
|
||||
} else {
|
||||
$temp_conf .= " weight={$node['weight']} ";
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user