diff --git a/redis/src/cluster_async/mod.rs b/redis/src/cluster_async/mod.rs index b766d5949..8edbca8ef 100644 --- a/redis/src/cluster_async/mod.rs +++ b/redis/src/cluster_async/mod.rs @@ -1447,12 +1447,14 @@ where } drop(read_guard); - Self::refresh_connections( - inner, - failed_connections, - RefreshConnectionType::OnlyManagementConnection, - ) - .await; + if !failed_connections.is_empty() { + Self::refresh_connections( + inner, + failed_connections, + RefreshConnectionType::OnlyManagementConnection, + ) + .await; + } false }