mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 14:15:58 +00:00
fix: server is functional check
This commit is contained in:
1 parent
c76a1b1ba5
commit
ab021ee535
7 files changed
+11
-8
No files matched your search
@@ -36,11 +36,11 @@ class DockerCleanupJob implements ShouldQueue
|
||||
return;
|
||||
}
|
||||
try {
|
||||
ray()->showQueries()->color('orange');
|
||||
// ray()->showQueries()->color('orange');
|
||||
$servers = Server::all();
|
||||
foreach ($servers as $server) {
|
||||
if (
|
||||
!$server->settings->is_reachable && !$server->settings->is_usable
|
||||
!$server->isFunctional()
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user