From 6024d66f6fbbcbcd129d1ed5a5604f3802893a1f Mon Sep 17 00:00:00 2001 From: james58899 Date: Thu, 27 Jun 2024 11:46:07 +0000 Subject: [PATCH] Log background force cache scan --- src/cache_manager.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cache_manager.rs b/src/cache_manager.rs index b3b9fc7..9631504 100644 --- a/src/cache_manager.rs +++ b/src/cache_manager.rs @@ -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);