refactor: remove unnecessary logging in Rclone status check

This commit is contained in:
Kuingsmile
2025-07-23 11:44:06 +08:00
parent 9277c9380c
commit 7f7cc8c8ce

View File

@@ -107,7 +107,6 @@ pub async fn get_rclone_backend_status(_state: State<'_, AppState>) -> Result<bo
}
async fn is_rclone_running() -> bool {
log::info!("Checking if Rclone is running...");
let mut system = System::new_all();
system.refresh_processes(sysinfo::ProcessesToUpdate::All, true);
@@ -122,6 +121,5 @@ async fn is_rclone_running() -> bool {
}
}
}
log::info!("Rclone is not running");
false
}