use deadpool_redis::{ Runtime, cluster::{Config, CreatePoolError, Pool}, }; pub fn init(urls: Vec) -> Result { Config::from_urls(urls).create_pool(Some(Runtime::Tokio1)) }