diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-25 15:51:49 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-25 15:51:49 +0200 |
commit | 51fa79a22d4cca066c5272bd6f9fab923dab9c4a (patch) | |
tree | 782f6097bde41bfdefc97c6ca5c97c5634a36b2d /src/storage/video_database | |
parent | fix(select/duration): Report parse errors, as the input is user specified (diff) | |
download | yt-51fa79a22d4cca066c5272bd6f9fab923dab9c4a.tar.gz yt-51fa79a22d4cca066c5272bd6f9fab923dab9c4a.zip |
fix(storage/extractor_hash): Remove useless logs
Diffstat (limited to '')
-rw-r--r-- | src/storage/video_database/extractor_hash.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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<ShortHash> { 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() |