diff --git a/app/Jobs/CheckLogDrainContainerJob.php b/app/Jobs/CheckLogDrainContainerJob.php index eb677265b..4da49b988 100644 --- a/app/Jobs/CheckLogDrainContainerJob.php +++ b/app/Jobs/CheckLogDrainContainerJob.php @@ -44,7 +44,7 @@ class CheckLogDrainContainerJob implements ShouldQueue, ShouldBeEncrypted { // ray("checking log drain statuses for {$this->server->id}"); try { - if (!$this->server->isServerReady()) { + if (!$this->server->isFunctional()) { return; }; $containers = instant_remote_process(["docker container ls -q"], $this->server, false); diff --git a/app/Jobs/ServerStatusJob.php b/app/Jobs/ServerStatusJob.php index 9dacea95c..58f30b18d 100644 --- a/app/Jobs/ServerStatusJob.php +++ b/app/Jobs/ServerStatusJob.php @@ -34,7 +34,7 @@ class ServerStatusJob implements ShouldQueue, ShouldBeEncrypted { ray("checking server status for {$this->server->id}"); try { - if ($this->server->isServerReady()) { + if ($this->server->isFunctional()) { $this->cleanup(notify: false); } } catch (\Throwable $e) {