fix: use serverStatus not just status
This commit is contained in:
parent
13f7d2a486
commit
0cbb3a08c2
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ public function isReachableChanged()
|
|||
if ($this->unreachable_count >= 2 && ! $unreachableNotificationSent) {
|
||||
$failedChecks = 0;
|
||||
for ($i = 0; $i < 3; $i++) {
|
||||
$status = $this->status();
|
||||
$status = $this->serverStatus();
|
||||
sleep(5);
|
||||
if (! $status) {
|
||||
$failedChecks++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue