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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat: randomly sleep between executions
Andras Bacsaie0289e29498b
diff --git a/app/Jobs/ContainerStatusJob.php b/app/Jobs/ContainerStatusJob.phpindex 5599c6de4f..0bdfca84e5 100644--- a/app/Jobs/ContainerStatusJob.php+++ b/app/Jobs/ContainerStatusJob.php@@ -17,6 +17,7 @@ use Illuminate\Queue\InteractsWithQueue;use Illuminate\Queue\Middleware\WithoutOverlapping;use Illuminate\Queue\SerializesModels;use Illuminate\Support\Arr;+use Illuminate\Support\Sleep;class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted{@@ -37,10 +38,10 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted$this->handle();}-public function handle(){- // ray("checking container statuses for {$this->server->id}");+ $rand = rand(1, 15);+ Sleep::for($rand)->seconds();try {if (!$this->server->isServerReady()) {return;