fix: use serverStatus not just status

This commit is contained in:
peaklabs-dev 2024-12-16 14:27:17 +01:00
parent 13f7d2a486
commit 0cbb3a08c2
No known key found for this signature in database

View file

@ -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++;