fix
This commit is contained in:
parent
62ca3ffaa5
commit
e4c923e358
@ -154,11 +154,11 @@ class Server extends BaseModel
|
||||
if ($this->skipServer()) {
|
||||
return false;
|
||||
}
|
||||
$serverUptimeCheckNumber = $this->unreachable_count;
|
||||
if ($this->unreachable_count < $tries) {
|
||||
$serverUptimeCheckNumber = $this->unreachable_count + 1;
|
||||
} else {
|
||||
$serverUptimeCheckNumber = 0;
|
||||
}
|
||||
|
||||
$serverUptimeCheckNumberMax = $tries;
|
||||
|
||||
ray('server: ' . $this->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user