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

This commit is contained in:
Andras Bacsai
2025-05-07 14:42:42 +02:00
parent e61cdcf07f
commit c6278a06ba
5 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ class PushServerUpdateJob implements ShouldBeEncrypted, ShouldQueue
public function middleware(): array
{
return [(new WithoutOverlapping($this->server->uuid))->expireAfter(30)];
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
}
public function backoff(): int