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
@@ -26,6 +26,7 @@ gem 'redis-cluster-client'
26
26
|`:replica`| Boolean |`false`|`true` if client should use scale read feature |
27
27
|`:replica_affinity`| Symbol or String |`:random`| scale reading strategy, `:random`, `random_with_primary` or `:latency` are valid |
28
28
|`:fixed_hostname`| String |`nil`| required if client should connect to single endpoint with SSL |
29
+
|`:slow_command_timeout`| Integer |`-1`| timeout used for "slow" queries that fetch metdata e.g. CLUSTER NODES, COMMAND |
29
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. |
30
31
31
32
Also, [the other generic options](https://github.com/redis-rb/redis-client#configuration) can be passed.
0 commit comments