This prevents queues from getting stuck when using the WithoutOverlapping middleware
This commit is contained in:
parent
6834c9e4dd
commit
7d698fafd0
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class DockerCleanupJob implements ShouldBeEncrypted, ShouldQueue
|
|||
|
||||
public function middleware(): array
|
||||
{
|
||||
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
|
||||
return [(new WithoutOverlapping($this->server->uuid))->expireAfter(600)];
|
||||
}
|
||||
|
||||
public function __construct(public Server $server, public bool $manualCleanup = false) {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue