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

@@ -103,7 +103,7 @@ fn build_channel(&self, clientversion: ClientVersion) -> Channel {
old_items = match cache.get(&index) {
Some((time, items)) => {
if time.elapsed().unwrap_or_default().as_secs() < 60 * 5 {
println!("Cache hit for URL: {}", url);
// println!("Cache hit for URL: {}", url);
return Ok(items.clone());
} else {
items.clone()