refactor(jobs): modify middleware to use job-specific identifier for WithoutOverlapping
This commit is contained in:
parent
9883cef26d
commit
380e8f34ab
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class RestartProxyJob implements ShouldBeEncrypted, ShouldQueue
|
||||||
|
|
||||||
public function middleware(): array
|
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) {}
|
public function __construct(public Server $server) {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue