mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 19:34:53 +00:00
increase waiting time
This commit is contained in:
parent
415a231ff9
commit
5a0a947556
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user