mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
additional interruption points to hasten shutdown
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
03f2ac9caf
commit
e5a1309583
4 files changed
+11
-3
No files matched your search
@@ -43,7 +43,7 @@ pub(super) async fn serve(
|
||||
let app = app.into_make_service_with_connect_info::<net::SocketAddr>();
|
||||
let builder = server::conn::auto::Builder::new(executor);
|
||||
let listener = init(server).await?;
|
||||
loop {
|
||||
while server.running() {
|
||||
let app = app.clone();
|
||||
let builder = builder.clone();
|
||||
tokio::select! {
|
||||
|
||||
Reference in new issue
Block a user