mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
refactor(jobs): update WithoutOverlapping middleware to use expireAfter for better queue management
This commit is contained in:
1 parent
1b60fd3eb2
commit
b78f2cccff
4 files changed
+6
-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($this->server->uuid))->expireAfter(30)];
|
||||
}
|
||||
|
||||
public function backoff(): int
|
||||
|
||||
Reference in new issue
Block a user