refactor(jobs): modify middleware to use job-specific identifier for WithoutOverlapping

This commit is contained in:
Andras Bacsai committed 2025-05-29 17:31:55 +02:00
1 parent 9883cef26d
commit 380e8f34ab
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ class RestartProxyJob implements ShouldBeEncrypted, ShouldQueue
public function middleware(): array
{
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
return [(new WithoutOverlapping('restart-proxy-'.$this->server->uuid))->dontRelease()];
}
public function __construct(public Server $server) {}