aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage/video_database
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/video_database')
-rw-r--r--src/storage/video_database/extractor_hash.rs4
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()