parent
028463bb36
commit
1de52decd3
1 changed files with 1 additions and 0 deletions
1
src/cache/cacher.rs
vendored
1
src/cache/cacher.rs
vendored
|
@ -17,6 +17,7 @@ use super::error::PoolError;
|
||||||
/// * `pool_size` - It stores the size of the connection pool (in other words the number of
|
/// * `pool_size` - It stores the size of the connection pool (in other words the number of
|
||||||
/// connections that should be stored in the pool).
|
/// connections that should be stored in the pool).
|
||||||
/// * `current_connection` - It stores the index of which connection is being used at the moment.
|
/// * `current_connection` - It stores the index of which connection is being used at the moment.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct RedisCache {
|
pub struct RedisCache {
|
||||||
connection_pool: Vec<ConnectionManager>,
|
connection_pool: Vec<ConnectionManager>,
|
||||||
pool_size: u8,
|
pool_size: u8,
|
||||||
|
|
Loading…
Add table
Reference in a new issue