build(deps): bump the dependencies group with 19 updates (#1745)

This commit is contained in:
houseme
2026-02-07 12:22:14 +08:00
committed by GitHub
parent d635ee8d2e
commit 0b870d6301
33 changed files with 398 additions and 283 deletions
+3 -3
View File
@@ -1086,7 +1086,7 @@ pub async fn scan_data_folder(
// Create skip_heal flag
let is_erasure_mode = is_erasure().await;
let skip_heal = std::sync::Arc::new(std::sync::atomic::AtomicBool::new(!is_erasure_mode || cache.info.skip_healing));
let skip_heal = Arc::new(std::sync::atomic::AtomicBool::new(!is_erasure_mode || cache.info.skip_healing));
// Create heal_object_select flag
let heal_object_select = if is_erasure_mode && !cache.info.skip_healing {
@@ -1144,11 +1144,11 @@ pub async fn scan_data_folder(
new_cache.info.last_update = Some(SystemTime::now());
new_cache.info.next_cycle = cache.info.next_cycle;
(close_disk)().await;
close_disk().await;
Ok(new_cache.clone())
}
Err(e) => {
(close_disk)().await;
close_disk().await;
// No useful information, return original cache
Err(e)
}