mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(deployments): advance the queue on all servers after a cancel
- A queued deployment on a deleted server no longer stops the queue; one deployment that fails to start does not stop the others - Cancelling a deployment starts the queued deployments of the same application on all servers, as a finished deployment does
This commit is contained in:
@@ -294,7 +294,7 @@ class DeployController extends Controller
|
||||
} finally {
|
||||
if ($cancelled) {
|
||||
try {
|
||||
next_after_cancel($deploymentServer);
|
||||
next_after_cancel($deploymentServer, $deployment->application);
|
||||
} catch (\Throwable $e) {
|
||||
\Log::warning("Failed to advance deployment queue after cancelling deployment {$deployment->id}: {$e->getMessage()}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user