Minor stylistic change

This commit is contained in:
Antonio Scandurra 2022-12-15 16:40:16 +01:00
parent 5a334622ea
commit 2679e245a5

View file

@ -77,8 +77,7 @@ async fn main() -> Result<()> {
.expect("failed to listen for interrupt signal");
let sigterm = sigterm.recv();
let sigint = sigint.recv();
futures::pin_mut!(sigterm);
futures::pin_mut!(sigint);
futures::pin_mut!(sigterm, sigint);
futures::future::select(sigterm, sigint).await;
tracing::info!("Received interrupt signal");
rpc_server.teardown();