Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Jun 8, 2024
1 parent b559175 commit 2a33657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viz/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ where
}

tokio::select! {
_ = graceful.shutdown() => {
() = graceful.shutdown() => {
tracing::trace!("Gracefully shutdown!");
},
_ = tokio::time::sleep(Duration::from_secs(10)) => {
() = tokio::time::sleep(Duration::from_secs(10)) => {
tracing::error!("Waited 10 seconds for graceful shutdown, aborting...");
}
}
Expand Down

0 comments on commit 2a33657

Please sign in to comment.