mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +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
@@ -71,7 +71,7 @@ class PushServerUpdateJob implements ShouldBeEncrypted, ShouldQueue
|
||||
|
||||
public function middleware(): array
|
||||
{
|
||||
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
|
||||
return [(new WithoutOverlapping('push-server-update-'.$this->server->uuid))->dontRelease()];
|
||||
}
|
||||
|
||||
public function backoff(): int
|
||||
|
||||
Reference in new issue
Block a user