increase waiting time

This commit is contained in:
OlivierDehaene 2022-12-16 15:48:42 +01:00
parent 415a231ff9
commit 5a0a947556

View File

@ -62,7 +62,7 @@ fn start_launcher(model_name: String, num_shard: usize, port: usize, master_port
} }
}); });
for _ in 0..30 { for _ in 0..60 {
let health = reqwest::blocking::get(format!("http://localhost:{}/health", port)); let health = reqwest::blocking::get(format!("http://localhost:{}/health", port));
if health.is_ok() { if health.is_ok() {
return launcher; return launcher;