Skip to content

Commit 526d675

Browse files
committed
refactor: Disable health check for Rust applications during deployment
1 parent 14b2442 commit 526d675

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/Jobs/ApplicationDeploymentJob.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,11 @@ private function generate_nixpacks_confs()
14481448
}
14491449
$this->nixpacks_plan = json_encode($parsed, JSON_PRETTY_PRINT);
14501450
$this->application_deployment_queue->addLogEntry("Final Nixpacks plan: {$this->nixpacks_plan}", hidden: true);
1451+
if ($this->nixpacks_type === 'rust') {
1452+
// temporary: disable healthcheck for rust because the start phase does not have curl/wget
1453+
$this->application->health_check_enabled = false;
1454+
$this->application->save();
1455+
}
14511456
}
14521457
}
14531458
}

0 commit comments

Comments
 (0)