Skip to content

Commit 06f7629

Browse files
committed
make README reflect reality
1 parent c851597 commit 06f7629

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -303,15 +303,9 @@ variables are set (`setenv`) before you do.
303303

304304
### Clustering support
305305

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`).
315309

316310
### Logging
317311

0 commit comments

Comments
 (0)