From 1de52decd39ee46f69ea36ef7665c21d643b2338 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Tue, 29 Aug 2023 20:10:32 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20refactor:=20add=20clone=20?= =?UTF-8?q?trait=20to=20`RedisCache`=20struct=20(#180)(#178)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cache/cacher.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cache/cacher.rs b/src/cache/cacher.rs index 6932dea..b2508b5 100644 --- a/src/cache/cacher.rs +++ b/src/cache/cacher.rs @@ -17,6 +17,7 @@ use super::error::PoolError; /// * `pool_size` - It stores the size of the connection pool (in other words the number of /// connections that should be stored in the pool). /// * `current_connection` - It stores the index of which connection is being used at the moment. +#[derive(Clone)] pub struct RedisCache { connection_pool: Vec, pool_size: u8,