fix: use serverStatus not just status
This commit is contained in:
		@@ -1048,7 +1048,7 @@ $schema://$host {
 | 
				
			|||||||
        if ($this->unreachable_count >= 2 && ! $unreachableNotificationSent) {
 | 
					        if ($this->unreachable_count >= 2 && ! $unreachableNotificationSent) {
 | 
				
			||||||
            $failedChecks = 0;
 | 
					            $failedChecks = 0;
 | 
				
			||||||
            for ($i = 0; $i < 3; $i++) {
 | 
					            for ($i = 0; $i < 3; $i++) {
 | 
				
			||||||
                $status = $this->status();
 | 
					                $status = $this->serverStatus();
 | 
				
			||||||
                sleep(5);
 | 
					                sleep(5);
 | 
				
			||||||
                if (! $status) {
 | 
					                if (! $status) {
 | 
				
			||||||
                    $failedChecks++;
 | 
					                    $failedChecks++;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user