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
+1
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ gem 'redis-cluster-client'
30
30
|`:slow_command_timeout`| Integer |`-1`| timeout used for "slow" queries that fetch metdata e.g. CLUSTER NODES, COMMAND |
31
31
|`: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. |
32
32
|`:connect_with_original_config`| Boolean |`false`|`true` if client should retry the connection using the original endpoint that was passed in |
33
+
|`:max_startup_sample`| Integer |`3`| maximum number of nodes to fetch `CLUSTER NODES` information for startup |
33
34
34
35
Also, [the other generic options](https://github.com/redis-rb/redis-client#configuration) can be passed.
35
36
But `:url`, `:host`, `:port` and `:path` are ignored because they conflict with the `:nodes` option.
0 commit comments