Fix server readiness check and update version
number
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user