File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
crates/networking/p2p/sync Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ pub(crate) async fn heal_state_trie(
95
95
break ;
96
96
}
97
97
}
98
- info ! ( "State Healing stopped, signaling storage healer" ) ;
98
+ debug ! ( "State Healing stopped, signaling storage healer" ) ;
99
99
// Save paths for the next cycle
100
100
if !paths. is_empty ( ) {
101
- info ! ( "Caching {} paths for the next cycle" , paths. len( ) ) ;
101
+ debug ! ( "Caching {} paths for the next cycle" , paths. len( ) ) ;
102
102
store. set_state_heal_paths ( paths. clone ( ) ) . await ?;
103
103
}
104
104
// Send empty batch to signal that no more batches are incoming
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ pub(crate) async fn storage_healer(
47
47
let healing_start = Instant :: now ( ) ;
48
48
let mut total_healed = 0 ;
49
49
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
52
51
{
53
52
last_update = Instant :: now ( ) ;
54
53
let speed = healing_start
You can’t perform that action at this time.
0 commit comments