fix: server is functional check

This commit is contained in:
Andras Bacsai
2023-09-12 13:14:01 +02:00
parent c76a1b1ba5
commit ab021ee535
7 changed files with 11 additions and 8 deletions

View File

@@ -153,4 +153,7 @@ class Server extends BaseModel
}
return $shouldRun;
}
public function isFunctional() {
return $this->settings->is_reachable && $this->settings->is_usable;
}
}