Fix server readiness check and update version

number
This commit is contained in:
Andras Bacsai
2023-11-17 14:14:13 +01:00
parent 48d7c6e76f
commit d38d50dca2
7 changed files with 5 additions and 18 deletions

View File

@@ -34,10 +34,7 @@ class ServerStatusJob implements ShouldQueue, ShouldBeEncrypted
{
ray("checking server status for {$this->server->id}");
try {
if (!$this->server->checkServerRediness()) {
ray('server not ready');
return;
}
$this->server->checkServerRediness();
$this->cleanup(notify: false);
} catch (\Throwable $e) {
send_internal_notification('ServerStatusJob failed with: ' . $e->getMessage());