Skip to content

Commit 0ca0b25

Browse files
committed
Restore regular tracing
1 parent 1e7231e commit 0ca0b25

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/networking/p2p/sync/state_healing.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ pub(crate) async fn heal_state_trie(
9595
break;
9696
}
9797
}
98-
info!("State Healing stopped, signaling storage healer");
98+
debug!("State Healing stopped, signaling storage healer");
9999
// Save paths for the next cycle
100100
if !paths.is_empty() {
101-
info!("Caching {} paths for the next cycle", paths.len());
101+
debug!("Caching {} paths for the next cycle", paths.len());
102102
store.set_state_heal_paths(paths.clone()).await?;
103103
}
104104
// Send empty batch to signal that no more batches are incoming

crates/networking/p2p/sync/storage_healing.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ pub(crate) async fn storage_healer(
4747
let healing_start = Instant::now();
4848
let mut total_healed = 0;
4949
while !(stale || cancel_token.is_cancelled()) {
50-
if true
51-
/*last_update.elapsed() >= SHOW_PROGRESS_INTERVAL_DURATION*/
50+
if last_update.elapsed() >= SHOW_PROGRESS_INTERVAL_DURATION
5251
{
5352
last_update = Instant::now();
5453
let speed = healing_start

0 commit comments

Comments
 (0)