mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 07:17:56 -05:00
chore(node): compact duration formatting in stage progress logs (#18720)
This commit is contained in:
@@ -596,6 +596,8 @@ impl Display for Eta {
|
||||
f,
|
||||
"{}",
|
||||
humantime::format_duration(Duration::from_secs(remaining.as_secs()))
|
||||
.to_string()
|
||||
.replace(' ', "")
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -621,6 +623,6 @@ mod tests {
|
||||
}
|
||||
.to_string();
|
||||
|
||||
assert_eq!(eta, "13m 37s");
|
||||
assert_eq!(eta, "13m37s");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user