File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -303,15 +303,9 @@ variables are set (`setenv`) before you do.
303
303
304
304
### Clustering support
305
305
306
- There are two ways to use the built in clustering support.
307
-
308
- - Explicitly set ` REDIS_CLUSTER_ENABLED=1 ` environment variable; and
309
- - Include a comma delimitered list of hosts in the ` REDIS_BACKEND ` environment
310
- variable.
311
-
312
- Either of these approaches will inform the ` setBackend ` call to expand the
313
- ` REDIS_BACKEND ` environment variable and trigger the instantiation of a
314
- ` Credis_Cluster ` instead of a ` Credis_Client ` .
306
+ Clustering support is automatically enabled when the ` REDIS_BACKEND ` environment
307
+ variable contains a comma separated list of hostnames
308
+ (` 10.0.0.1:6379,10.0.0.2:6379 ` ).
315
309
316
310
### Logging
317
311
You can’t perform that action at this time.
0 commit comments