mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Update router/src/server.rs
This commit is contained in:
parent
b759cc337b
commit
b8ac9d56df
@ -1686,12 +1686,6 @@ pub async fn run(
|
||||
axum::serve(listener, app)
|
||||
.with_graceful_shutdown(shutdown_signal())
|
||||
.await?;
|
||||
|
||||
// axum::Server::bind(&addr)
|
||||
// .serve(app.into_make_service())
|
||||
// // Wait until all requests are finished to shut down
|
||||
// .with_graceful_shutdown(shutdown_signal())
|
||||
// .await?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user