You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: scheduler.rs
    path of file: ./repos/cube/rust/cubestore/cubestore/src/cachestore
    
    the code of the file until where you have to start completion: use crate::cachestore::CacheStore;
use crate::config
    
    async fn run_event_processor(self: Arc<Self>) {
        loop {
            let mut event_receiver = self.event_receiver.lock().await;
            let event: MetaStoreEvent = tokio::select! {
                _ = self.cancel_token.cancelled() => {
                    return;
                }
                event = event_receiver.recv() => {
                    match event {
                        Err(broadcast::error::RecvError::Lagged(messages)) => {
                            error!("Scheduler is lagging on cache store event processing for {} messages", messages);
                            continue;
                        },
                        Err(broadcast::error::RecvError::Closed) => {
                            return;
                        },
                        Ok(event) => event,
                    }
                }
            };

            match event {
                MetaStoreEvent::AckQueueItem(event) => {
                    if let Err(e) = self
                        .gc_queue
                        .send(
                            GCTask::DeleteQueue(event.id),
                            Instant::now() + self.cachestore_queue_results_expire,
                        )
                        .await
                    {
                        println!("error while scheduling delete, error: {}", e);
                    };
                }
                _ => {}
            }
        }
    }