Checkpoint
This commit is contained in:
+2
-4
@@ -1,7 +1,5 @@
|
||||
use deadpool_redis::{
|
||||
Runtime,
|
||||
cluster::{Config, CreatePoolError, Pool},
|
||||
};
|
||||
use deadpool_redis::Runtime;
|
||||
use deadpool_redis::cluster::{Config, CreatePoolError, Pool};
|
||||
|
||||
pub fn init(urls: Vec<String>) -> Result<Pool, CreatePoolError> {
|
||||
Config::from_urls(urls).create_pool(Some(Runtime::Tokio1))
|
||||
|
||||
Reference in New Issue
Block a user