From df06c51b39fed58c8230fad93dac2e274d3a7f56 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 15:49:51 +0200 Subject: fix(downloader): Remove useless logs --- src/download/mod.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/download') diff --git a/src/download/mod.rs b/src/download/mod.rs index b29594f..faf4f37 100644 --- a/src/download/mod.rs +++ b/src/download/mod.rs @@ -181,13 +181,6 @@ impl Downloader { self.current_download = Some(new_current_download); } else { - debug!( - "Currently downloading '{}'", - current_download - .extractor_hash - .into_short_hash(&app) - .await? - ); // Reset the taken value self.current_download = Some(current_download); } @@ -229,11 +222,7 @@ impl Downloader { .boxed() } - let val = dir_size(fs::read_dir(&app.config.paths.download_dir).await?).await; - if let Ok(val) = val { - info!("Cache dir has a size of '{}'", Bytes::new(val)); - } - val + dir_size(fs::read_dir(&app.config.paths.download_dir).await?).await } async fn get_approx_video_size(&mut self, app: &App, video: &Video) -> Result { -- cgit 1.4.1