Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

Andras Bacsai380e8f34abd8
diff --git a/app/Jobs/RestartProxyJob.php b/app/Jobs/RestartProxyJob.php
index 7fc716f70c..a05652a4c9 100644
--- a/app/Jobs/RestartProxyJob.php
+++ b/app/Jobs/RestartProxyJob.php
@@ -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) {}