hourly cleanup
This commit is contained in:
@@ -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 || {
|
||||
|
||||
Reference in New Issue
Block a user