cleanup
This commit is contained in:
@@ -49,7 +49,6 @@ impl VideoCache {
|
||||
for (key, (time, _items)) in iter {
|
||||
if let Ok(elapsed) = time.elapsed() {
|
||||
if elapsed > Duration::from_secs(60*60){
|
||||
println!("Key: {}, elapsed: {:?}", key, elapsed);
|
||||
self.remove(&key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user