From ba7a7e96955c31d8b8c34bb4209e7b70907d6e82 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 18 Jan 2024 13:33:57 +0100 Subject: [PATCH] Update server and version configurations --- app/Jobs/ContainerStatusJob.php | 8 +++----- app/Jobs/PullHelperImageJob.php | 2 +- config/sentry.php | 2 +- config/version.php | 2 +- versions.json | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/app/Jobs/ContainerStatusJob.php b/app/Jobs/ContainerStatusJob.php index b9fa3443f..86c879a3b 100644 --- a/app/Jobs/ContainerStatusJob.php +++ b/app/Jobs/ContainerStatusJob.php @@ -27,6 +27,9 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted { return isDev() ? 1 : 3; } + public function __construct(public Server $server) + { + } public function middleware(): array { return [(new WithoutOverlapping($this->server->uuid))]; @@ -37,11 +40,6 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted return $this->server->uuid; } - public function __construct(public Server $server) - { - $this->handle(); - } - public function handle() { if (!$this->server->isFunctional()) { diff --git a/app/Jobs/PullHelperImageJob.php b/app/Jobs/PullHelperImageJob.php index f06e9524d..848c316f2 100644 --- a/app/Jobs/PullHelperImageJob.php +++ b/app/Jobs/PullHelperImageJob.php @@ -19,7 +19,7 @@ class PullHelperImageJob implements ShouldQueue, ShouldBeEncrypted public function middleware(): array { - return [(new WithoutOverlapping($this->server->uuid))->dontRelease()]; + return [(new WithoutOverlapping($this->server->uuid))]; } public function uniqueId(): string diff --git a/config/sentry.php b/config/sentry.php index f1f17f030..ccae430a3 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ return [ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.197', + 'release' => '4.0.0-beta.198', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 32e5b5873..e5829a919 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@