File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,16 @@ RedisClient.cluster(nodes: 'rediss://endpoint.example.com:6379').new_client
90
90
RedisClient .cluster(nodes: ' rediss://endpoint.example.com:6379' , fixed_hostname: ' endpoint.example.com' ).new_client
91
91
```
92
92
93
+ ``` ruby
94
+ # To specify concurrency settings
95
+ RedisClient .cluster(concurrency: { model: :on_demand , size: 6 }).new_client
96
+ RedisClient .cluster(concurrency: { model: :pooled , size: 3 }).new_client
97
+ RedisClient .cluster(concurrency: { model: :none }).new_client
98
+
99
+ # The above settings are used by sending commands to multiple nodes like pipelining.
100
+ # Please choose the one suited your workloads.
101
+ ```
102
+
93
103
## Interfaces
94
104
The following methods are able to be used like ` redis-client ` .
95
105
* ` #call `
You can’t perform that action at this time.
0 commit comments