diff --git a/gateway/src/project.rs b/gateway/src/project.rs index 4e80925c3..5ea47e33f 100644 --- a/gateway/src/project.rs +++ b/gateway/src/project.rs @@ -367,8 +367,8 @@ impl ProjectCreating { ], "Healthcheck": { "Interval": 1_000_000_000i64, // Every second - "Timeout": 15_000_000_000i64, // 15 seconds - "Test": ["CMD", "curl", format!("localhost:8001/projects/{project_name}/status")], + "Timeout": 15_000_000_000i64, // 15 seconds. Should match the --max-time below + "Test": ["CMD", "curl", "--max-time=15", format!("localhost:8001/projects/{project_name}/status")], }, });