refactor(jobs): update middleware to prevent job release after expiration for CleanupInstanceStuffsJob, RestartProxyJob, and ServerCheckJob

This commit is contained in:
Andras Bacsai
2025-04-30 23:37:29 +02:00
parent 5159b54bac
commit f9faf3e40f
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
public function middleware(): array
{
return [(new WithoutOverlapping($this->server->uuid))->expireAfter(60)];
return [(new WithoutOverlapping($this->server->uuid))->expireAfter(60)->dontRelease()];
}
public function __construct(public Server $server) {}