Skip to content

Commit

Permalink
Enable refresh slots after reconnecting to initial nodes. (#2921)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
GilboaAWS authored Jan 7, 2025
1 parent 8b904d4 commit b6565eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glide-core/redis-rs/redis/src/cluster_async/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit b6565eb

Please sign in to comment.