From 51fa79a22d4cca066c5272bd6f9fab923dab9c4a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 15:51:49 +0200 Subject: fix(storage/extractor_hash): Remove useless logs --- src/storage/video_database/extractor_hash.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/storage/video_database') diff --git a/src/storage/video_database/extractor_hash.rs b/src/storage/video_database/extractor_hash.rs index 593b5c4..09ca2ea 100644 --- a/src/storage/video_database/extractor_hash.rs +++ b/src/storage/video_database/extractor_hash.rs @@ -76,11 +76,9 @@ impl ExtractorHash { pub async fn into_short_hash(&self, app: &App) -> Result { let needed_chars = if let Some(needed_chars) = EXTRACTOR_HASH_LENGTH.get() { - debug!("Using cached char length: {}", needed_chars); *needed_chars } else { let needed_chars = self.get_needed_char_len(app).await?; - debug!("Setting the needed has char lenght."); EXTRACTOR_HASH_LENGTH .set(needed_chars) .expect("This should work at this stage"); @@ -88,8 +86,6 @@ impl ExtractorHash { needed_chars }; - debug!("Formatting a hash with char length: {}", needed_chars); - Ok(ShortHash( self.hash() .to_hex() -- cgit 1.4.1