Skip to content

Commit 1f31fae

Browse files
committed
Minor reword
1 parent 8aba93d commit 1f31fae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

components/cache/adapters/redis_adapter.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ Below are common examples of valid DSNs showing a combination of available value
9494
'redis:?host[localhost]&host[localhost:6379]&host[/var/run/redis.sock:]&auth=my-password&redis_cluster=1'
9595
);
9696

97-
// Redis Sentinel is also supported in the same way
98-
// set the redis_sentinel parameter to the name of your service group
99-
// Sentinel support also requires the Predis library
97+
`Redis Sentinel`_, which provides high availability for Redis, is also supported
98+
when using the Predis library. Use the ``redis_sentinel`` parameter to set the
99+
name of your service group::
100+
100101
RedisAdapter::createConnection(
101102
'redis:?host[redis1:26379]&host[redis2:26379]&host[redis3:26379]&redis_sentinel=mymaster'
102103
);
@@ -195,3 +196,4 @@ Available Options
195196
.. _`Predis`: https://packagist.org/packages/predis/predis
196197
.. _`Predis Connection Parameters`: https://github.com/nrk/predis/wiki/Connection-Parameters#list-of-connection-parameters
197198
.. _`TCP-keepalive`: https://redis.io/topics/clients#tcp-keepalive
199+
.. _`Redis Sentinel`: https://redis.io/topics/sentinel

0 commit comments

Comments
 (0)