less printing
This commit is contained in:
@@ -189,7 +189,7 @@ impl HanimeProvider {
|
||||
let old_items = match cache.get(&index) {
|
||||
Some((time, items)) => {
|
||||
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());
|
||||
}
|
||||
else{
|
||||
|
||||
@@ -60,7 +60,7 @@ impl PerverzijaProvider {
|
||||
let old_items = match cache.get(&url_str) {
|
||||
Some((time, items)) => {
|
||||
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());
|
||||
} else {
|
||||
items.clone()
|
||||
|
||||
Reference in New Issue
Block a user