From b6565eb9a5e29b59d87e2cfe0d1a36e7e0d344f9 Mon Sep 17 00:00:00 2001 From: Gilboab <97948000+GilboaAWS@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:04:00 +0200 Subject: [PATCH] Enable refresh slots after reconnecting to initial nodes. (#2921) Does not throttle refresh slots after reconnecting to initial nodes, as this operation is kind of resetting the client, so it should let it discover the whole topology before moving on the handle requests Signed-off-by: GilboaAWS --- glide-core/redis-rs/redis/src/cluster_async/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glide-core/redis-rs/redis/src/cluster_async/mod.rs b/glide-core/redis-rs/redis/src/cluster_async/mod.rs index 534fdd429e..17c983d551 100644 --- a/glide-core/redis-rs/redis/src/cluster_async/mod.rs +++ b/glide-core/redis-rs/redis/src/cluster_async/mod.rs @@ -1301,7 +1301,7 @@ where .extend_connection_map(connection_map); if let Err(err) = Self::refresh_slots_and_subscriptions_with_retries( inner.clone(), - &RefreshPolicy::Throttable, + &RefreshPolicy::NotThrottable, ) .await {