check server functionality before status
This commit is contained in:
parent
c2e076be54
commit
2eab9296cf
1 changed files with 2 additions and 2 deletions
|
|
@ -976,10 +976,10 @@ public function isSwarmWorker()
|
|||
|
||||
public function serverStatus(): bool
|
||||
{
|
||||
if ($this->status() === false) {
|
||||
if ($this->isFunctional() === false) {
|
||||
return false;
|
||||
}
|
||||
if ($this->isFunctional() === false) {
|
||||
if ($this->status() === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue