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
* The master name, that identifies a group of Redis instances composed of a master and one or more slaves, is specified in the url parameter (`mymaster` in the example).
106
-
* It is possible to optionally provide a role. The allowed roles are `master` and `slave`, and the default is `master`. When the role is `slave` redis-rb will try to fetch a list of slaves and will connect to a random slave.
107
-
* When using the Sentinel support you need to specify a list of Sentinels to connect to. The list does not need to enumerate all your Sentinel instances, but a few so that if one is down redis-rb will try the next one. The client is able to remember the last Sentinel that was able to reply correctly and will use it for the next requests.
103
+
* The master name identifies a group of Redis instances composed of a master
104
+
and one or more slaves (`mymaster` in the example).
105
+
106
+
* It is possible to optionally provide a role. The allowed roles are `master`
107
+
and `slave`. When the role is `slave`, the client will try to connect to a
108
+
random slave of the specified master.
109
+
110
+
* When using the Sentinel support you need to specify a list of sentinels to
111
+
connect to. The list does not need to enumerate all your Sentinel instances,
112
+
but a few so that if one is down the client will try the next one. The client
113
+
is able to remember the last Sentinel that was able to reply correctly and will
114
+
use it for the next requests.
108
115
109
116
## Storing objects
110
117
@@ -187,7 +194,7 @@ end
187
194
to redis, AND
188
195
- your own code prevents the parent process from using the redis
189
196
connection while a child is alive
190
-
197
+
191
198
Improper use of `inherit_socket` will result in corrupted and/or incorrect
0 commit comments