hourly cleanup

This commit is contained in:
Simon
2026-06-21 11:39:38 +00:00
parent 6d18397c51
commit 570a77c90b
2 changed files with 58 additions and 17 deletions

View File

@@ -66,6 +66,8 @@ async fn main() -> std::io::Result<()> {
.max_size(100_000)
.to_owned();
crate::flow_debug!("video cache initialized max_size=100000");
cache.spawn_hourly_cleanup();
crate::flow_debug!("video cache hourly cleanup task spawned");
let _ = providers::configure_runtime_validation(pool.clone(), cache.clone(), requester.clone());
thread::spawn(move || {