less printing

This commit is contained in:
Simon
2026-01-14 15:42:44 +00:00
parent e2f3bc2ecb
commit 182eb8ac01
2 changed files with 2 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ impl HanimeProvider {
let old_items = match cache.get(&index) { let old_items = match cache.get(&index) {
Some((time, items)) => { Some((time, items)) => {
if time.elapsed().unwrap_or_default().as_secs() < 60 * 60 * 12 { if time.elapsed().unwrap_or_default().as_secs() < 60 * 60 * 12 {
println!("Cache hit for URL: {}", index); //println!("Cache hit for URL: {}", index);
return Ok(items.clone()); return Ok(items.clone());
} }
else{ else{

View File

@@ -60,7 +60,7 @@ impl PerverzijaProvider {
let old_items = match cache.get(&url_str) { let old_items = match cache.get(&url_str) {
Some((time, items)) => { Some((time, items)) => {
if time.elapsed().unwrap_or_default().as_secs() < 60 * 60 { if time.elapsed().unwrap_or_default().as_secs() < 60 * 60 {
println!("Cache hit for URL: {}", url_str); //println!("Cache hit for URL: {}", url_str);
return Ok(items.clone()); return Ok(items.clone());
} else { } else {
items.clone() items.clone()