mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 00:14:24 +00:00
refactor(jobs): update middleware to include job-specific identifiers for WithoutOverlapping
This commit is contained in:
1 parent
57b64cfd78
commit
9883cef26d
4 files changed
+4
-4
No files matched your search
@@ -23,7 +23,7 @@ class ServerPatchCheckJob implements ShouldBeEncrypted, ShouldQueue
|
||||
|
||||
public function middleware(): array
|
||||
{
|
||||
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
|
||||
return [(new WithoutOverlapping('server-patch-check-'.$this->server->uuid))->dontRelease()];
|
||||
}
|
||||
|
||||
public function __construct(public Server $server) {}
|
||||
|
||||
Reference in new issue
Block a user