Skip to content

Commit 4c75b85

Browse files
authored
fix(server): share gateway shutdown channel (#1945)
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent f1245a3 commit 4c75b85

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • crates/openshell-server/src

crates/openshell-server/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,6 @@ pub async fn run_server(
422422
info!("Metrics server disabled");
423423
}
424424

425-
let (shutdown_tx, shutdown_rx) = watch::channel(false);
426-
427425
// Build TLS acceptor when TLS is configured; otherwise serve plaintext.
428426
let tls_acceptor = if let Some(tls) = &config.tls {
429427
let acceptor = TlsAcceptor::from_files(

0 commit comments

Comments
 (0)