fix
This commit is contained in:
parent
e4c923e358
commit
37be4a1796
1 changed files with 3 additions and 0 deletions
|
|
@ -158,6 +158,9 @@ public function isServerReady(int $tries = 3)
|
||||||
if ($this->unreachable_count < $tries) {
|
if ($this->unreachable_count < $tries) {
|
||||||
$serverUptimeCheckNumber = $this->unreachable_count + 1;
|
$serverUptimeCheckNumber = $this->unreachable_count + 1;
|
||||||
}
|
}
|
||||||
|
if ($this->unreachable_count > $tries) {
|
||||||
|
$serverUptimeCheckNumber = $tries;
|
||||||
|
}
|
||||||
|
|
||||||
$serverUptimeCheckNumberMax = $tries;
|
$serverUptimeCheckNumberMax = $tries;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue