Skip to content

Commit

Permalink
Log background force cache scan
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Jun 27, 2024
1 parent b6ecaf2 commit 6024d66
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cache_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ impl CacheManager {
CacheManager::start_background_task(manager);
} else {
// Background cache scan
info!("Start background cache scan");
if verify_cache {
info!("Start background force cache check");
} else {
info!("Start background cache scan");
}
spawn(async move {
if let Err(err) = manager.scan_cache(static_range, 4, verify_cache).await {
error!("Cache scan error: {}", err);
Expand Down

0 comments on commit 6024d66

Please sign in to comment.