This commit is contained in:
Simon
2026-01-14 11:49:27 +00:00
parent 602dbe50f0
commit cacd45d893
5 changed files with 278 additions and 277 deletions

View File

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