Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fixes

Andras Bacsaicd58e0d01eac
diff --git a/app/Actions/Server/UpdateCoolify.php b/app/Actions/Server/UpdateCoolify.php
index dd126009ca..16a01fb6f7 100644
--- a/app/Actions/Server/UpdateCoolify.php
+++ b/app/Actions/Server/UpdateCoolify.php
@@ -54,7 +54,7 @@ class UpdateCoolify
{
if (isDev()) {
instant_remote_process([
- "sleep 10"
+ "sleep 1"
], $this->server);
return;
}
diff --git a/app/Livewire/Upgrade.php b/app/Livewire/Upgrade.php
index 5bb4143c00..e81ee93e6d 100644
--- a/app/Livewire/Upgrade.php
+++ b/app/Livewire/Upgrade.php
@@ -5,11 +5,9 @@ namespace App\Livewire;
use App\Actions\Server\UpdateCoolify;
use Livewire\Component;
-use DanHarrin\LivewireRateLimiting\WithRateLimiting;
class Upgrade extends Component
{
- use WithRateLimiting;
public bool $showProgress = false;
public bool $updateInProgress = false;
public bool $isUpgradeAvailable = false;
@@ -31,7 +29,6 @@ class Upgrade extends Component
if ($this->updateInProgress) {
return;
}
- $this->rateLimit(1, 60);
$this->updateInProgress = true;
UpdateCoolify::run(manual_update: true);
} catch (\Throwable $e) {