refactor(jobs): update middleware to include job-specific identifiers for WithoutOverlapping

This commit is contained in:
Andras Bacsai committed 2025-05-29 17:31:43 +02:00
1 parent 57b64cfd78
commit 9883cef26d
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class DockerCleanupJob implements ShouldBeEncrypted, ShouldQueue
public function middleware(): array
{
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
return [(new WithoutOverlapping('docker-cleanup-'.$this->server->uuid))->dontRelease()];
}
public function __construct(public Server $server, public bool $manualCleanup = false) {}