release the job rather than throwing
This commit is contained in:
@@ -34,7 +34,8 @@ class WaitForServerToConnect implements ShouldQueue, ShouldBeEncrypted
|
|||||||
if (! $process->isSuccessful()) {
|
if (! $process->isSuccessful()) {
|
||||||
logger('server not reachable');
|
logger('server not reachable');
|
||||||
logger($process->getErrorOutput());
|
logger($process->getErrorOutput());
|
||||||
throw new \Exception('Server is not reachable');
|
$this->release(15);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->server->update([
|
$this->server->update([
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ if (form.provider && !props.locations) {
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="form.location" class="grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-2">
|
<div v-if="form.location" class="grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-2">
|
||||||
<RadioButton
|
<RadioButton
|
||||||
v-for="serverType in serverTypes.sort((a, b) => a.cores - b.cores)"
|
v-for="serverType in serverTypes?.sort((a, b) => a.cores - b.cores) ?? []"
|
||||||
v-model="form.server_type"
|
v-model="form.server_type"
|
||||||
:value="serverType.id"
|
:value="serverType.id"
|
||||||
:disabled="serverType.disabled"
|
:disabled="serverType.disabled"
|
||||||
|
|||||||
Reference in New Issue
Block a user