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