mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 23:42:34 +00:00
Migrate queues to Horizon (#621)
This commit is contained in:
@ -81,7 +81,7 @@ public function create(User $creator, Project $project, array $input): Server
|
||||
'error' => (string) $e,
|
||||
]);
|
||||
})
|
||||
->onConnection('ssh');
|
||||
->onQueue('ssh');
|
||||
|
||||
return $this->server;
|
||||
} catch (Exception $e) {
|
||||
|
@ -20,6 +20,6 @@ public function update(Server $server): void
|
||||
})->catch(function () use ($server): void {
|
||||
Notifier::send($server, new ServerUpdateFailed($server));
|
||||
$server->checkConnection();
|
||||
})->onConnection('ssh');
|
||||
})->onQueue('ssh-unique');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user