improve: update process

This commit is contained in:
Andras Bacsai committed 2024-06-25 12:48:56 +02:00
1 parent 8b95b93c72
commit a849c25672
2 files changed
+11 -5

No files matched your search

+2 -1
View File
@@ -25,7 +25,7 @@ class UpdateCoolify
if (! $this->server) {
return;
}
CleanupDocker::run($this->server, false);
CleanupDocker::dispatch($this->server, false)->onQueue('high');
$this->latestVersion = get_latest_version_of_coolify();
$this->currentVersion = config('version');
if (! $manual_update) {
@@ -48,6 +48,7 @@ class UpdateCoolify
private function update()
{
if (isDev()) {
ray('Running in dev mode');
remote_process([
'sleep 10',
], $this->server);