feat: add high priority queue

This commit is contained in:
Andras Bacsai
2024-06-20 14:52:12 +02:00
parent 93c890ce41
commit fcb3d71cb4
6 changed files with 7 additions and 6 deletions

View File

@@ -340,7 +340,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
private function post_deployment()
{
if ($this->server->isProxyShouldRun()) {
GetContainersStatus::dispatch($this->server);
GetContainersStatus::dispatch($this->server)->onQueue('high');
// dispatch(new ContainerStatusJob($this->server));
}
$this->next(ApplicationDeploymentStatus::FINISHED->value);