refactor(jobs): unify middleware configuration to prevent job release after expiration for DockerCleanupJob and PushServerUpdateJob

This commit is contained in:
Andras Bacsai committed 2025-05-07 14:42:42 +02:00
1 parent e61cdcf07f
commit c6278a06ba
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
public function middleware(): array
{
return [(new WithoutOverlapping($this->server->uuid))->expireAfter(60)->dontRelease()];
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
}
public function __construct(public Server $server) {}