Merge branch 'docker-cleanup-executions-ui' of https://github.com/peaklabs-dev/coolify into docker-cleanup-executions-ui

This commit is contained in:
peaklabs-dev
2025-01-16 14:42:58 +01:00
25 changed files with 245 additions and 111 deletions

View File

@@ -316,6 +316,10 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
$this->fail($e);
throw $e;
} finally {
$this->application_deployment_queue->update([
'finished_at' => now(),
]);
if ($this->use_build_server) {
$this->server = $this->build_server;
} else {

View File

@@ -18,7 +18,7 @@ class Index extends Component
public int $skip = 0;
public int $default_take = 40;
public int $default_take = 10;
public bool $show_next = false;
@@ -42,7 +42,7 @@ class Index extends Component
if (! $application) {
return redirect()->route('dashboard');
}
['deployments' => $deployments, 'count' => $count] = $application->deployments(0, 40);
['deployments' => $deployments, 'count' => $count] = $application->deployments(0, $this->default_take);
$this->application = $application;
$this->deployments = $deployments;
$this->deployments_count = $count;