Skip to content

Commit

Permalink
Log scan progress on fast check
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Dec 24, 2024
1 parent 62b38cb commit 941367a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cache_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ impl CacheManager {
};
if file_count == self.cache_state.lock().get(sr).map(|s| s.file_count).unwrap_or(0) {
counter += 1;
if counter % 100 == 0 || counter == total {
info!("Scanned {}/{} static ranges.", counter, total);
}
continue;
}

Expand Down

0 comments on commit 941367a

Please sign in to comment.