We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca0b25 commit a833a9dCopy full SHA for a833a9d
crates/networking/p2p/sync/storage_healing.rs
@@ -47,8 +47,7 @@ pub(crate) async fn storage_healer(
47
let healing_start = Instant::now();
48
let mut total_healed = 0;
49
while !(stale || cancel_token.is_cancelled()) {
50
- if last_update.elapsed() >= SHOW_PROGRESS_INTERVAL_DURATION
51
- {
+ if last_update.elapsed() >= SHOW_PROGRESS_INTERVAL_DURATION {
52
last_update = Instant::now();
53
let speed = healing_start
54
.elapsed()
0 commit comments