This commit is contained in:
Jeff Baskin 2022-12-27 15:41:49 -05:00
parent 5e0faf4da8
commit 6229671212

View File

@ -118,9 +118,9 @@ impl MoreThanText {
};
let looper = output.cache.clone();
spawn(async move {
let hold_time = Duration::from_secs(300);
loop {
sleep(Duration::from_secs(1)).await;
let hold_time = Duration::from_secs(300);
let mut ids: Vec<String> = Vec::new();
let mut cache = looper.lock().await;
for (id, entry) in cache.iter() {