From 526d675272850c8099bbc6bdaba64e6967620cf0 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 19 Jul 2024 15:40:33 +0200 Subject: [PATCH] refactor: Disable health check for Rust applications during deployment --- app/Jobs/ApplicationDeploymentJob.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index 65f8f3423..b67e29f72 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -1448,6 +1448,11 @@ private function generate_nixpacks_confs() } $this->nixpacks_plan = json_encode($parsed, JSON_PRETTY_PRINT); $this->application_deployment_queue->addLogEntry("Final Nixpacks plan: {$this->nixpacks_plan}", hidden: true); + if ($this->nixpacks_type === 'rust') { + // temporary: disable healthcheck for rust because the start phase does not have curl/wget + $this->application->health_check_enabled = false; + $this->application->save(); + } } } }