diff --git a/cave/src/store.rs b/cave/src/store.rs index 5e752f0..88afb24 100644 --- a/cave/src/store.rs +++ b/cave/src/store.rs @@ -48,7 +48,7 @@ impl ManageConnection for RedisPool { fn is_valid<'life0, 'life1, 'async_trait>( &'life0 self, - conn: &'life1 mut Self::Connection + _conn: &'life1 mut Self::Connection ) -> Pin> + Send + 'async_trait>> where 'life0: 'async_trait, @@ -56,9 +56,7 @@ impl ManageConnection for RedisPool { Self: 'async_trait { Box::pin(async { - redis::cmd("PING") - .query_async::<_, ()>(conn) - .await + Ok(()) }) }