From 46a500f5e5f46c71200ec5ce15b987dca7601d5a Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 30 May 2024 20:02:11 +0200 Subject: [PATCH] async update process --- app/Actions/Server/UpdateCoolify.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Actions/Server/UpdateCoolify.php b/app/Actions/Server/UpdateCoolify.php index 16a01fb6f..512c1b380 100644 --- a/app/Actions/Server/UpdateCoolify.php +++ b/app/Actions/Server/UpdateCoolify.php @@ -53,12 +53,12 @@ class UpdateCoolify private function update() { if (isDev()) { - instant_remote_process([ - "sleep 1" + remote_process([ + "sleep 10" ], $this->server); return; } - instant_remote_process([ + remote_process([ "curl -fsSL https://cdn.coollabs.io/coolify/upgrade.sh -o /data/coolify/source/upgrade.sh", "bash /data/coolify/source/upgrade.sh $this->latestVersion" ], $this->server);