You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ gem 'redis-cluster-client'
28
28
|`:fixed_hostname`| String |`nil`| required if client should connect to single endpoint with SSL |
29
29
|`:slow_command_timeout`| Integer |`-1`| timeout used for "slow" queries that fetch metdata e.g. CLUSTER NODES, COMMAND |
30
30
|`:concurrency`| Hash |`{ model: :on_demand, size: 5}`| concurrency settings, `:on_demand`, `:pooled` and `:none` are valid models, size is a max number of workers, `:none` model is no concurrency, Please choose the one suited your environment if needed. |
31
+
|`:connect_with_original_config`| Boolean |`false`|`true` if client should retry the connection using the original endpoint that was passed in |
31
32
32
33
Also, [the other generic options](https://github.com/redis-rb/redis-client#configuration) can be passed.
33
34
But `:url`, `:host`, `:port` and `:path` are ignored because they conflict with the `:nodes` option.
# To reconnect using the original configuration options on error. This can be useful when using a DNS endpoint and the underlying host IPs are all updated
0 commit comments