Skip to content

Commit

Permalink
remove humantime
Browse files Browse the repository at this point in the history
  • Loading branch information
starua committed Apr 22, 2023
1 parent 8f3bf0d commit b27ad47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ async-trait = "0.1.57"

# For logging
tracing = { version = "0.1.37", features = ["async-await"] }
humantime = "2.1.0"

[dev-dependencies]
# Error propagation
Expand Down
2 changes: 1 addition & 1 deletion src/toplevel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl<ErrType: ErrTypeTraits> Toplevel<ErrType> {
///
/// An error of type [`GracefulShutdownError`] if an error occurred.
///
#[tracing::instrument(name = "Global System Shutdown", skip_all, level = "debug", fields(timeout = %humantime::format_duration(shutdown_timeout)))]
#[tracing::instrument(name = "Global System Shutdown", skip(self), level = "debug")]
pub async fn handle_shutdown_requests(
mut self,
shutdown_timeout: Duration,
Expand Down

0 comments on commit b27ad47

Please sign in to comment.