mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 22:02:06 +00:00
increase timeouts
This commit is contained in:
parent
febc488e0e
commit
e0535a13c5
@ -1189,7 +1189,7 @@ fn shard_manager(
|
|||||||
|
|
||||||
// We received a shutdown signal
|
// We received a shutdown signal
|
||||||
if shutdown.load(Ordering::SeqCst) {
|
if shutdown.load(Ordering::SeqCst) {
|
||||||
terminate("shard", p, Duration::from_secs(90)).unwrap();
|
terminate("shard", p, Duration::from_secs(3600)).unwrap();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2290,7 +2290,7 @@ fn main() -> Result<(), LauncherError> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Graceful termination
|
// Graceful termination
|
||||||
terminate("webserver", webserver, Duration::from_secs(90)).unwrap();
|
terminate("webserver", webserver, Duration::from_secs(3600)).unwrap();
|
||||||
shutdown_shards(shutdown, &shutdown_receiver);
|
shutdown_shards(shutdown, &shutdown_receiver);
|
||||||
|
|
||||||
exit_code
|
exit_code
|
||||||
|
Loading…
Reference in New Issue
Block a user