@@ -25,9 +25,9 @@ to utilize a cluster of servers to provide redundancy and/or fail-over is also a
25
25
26
26
**Requirements: ** At least one `Redis server `_ must be installed and running to use this
27
27
adapter. Additionally, this adapter requires a compatible extension or library that implements
28
- ``\Redis ``, ``\RedisArray ``, ``RedisCluster ``, or ``\Predis ``.
28
+ ``\Redis ``, ``\RedisArray ``, ``RedisCluster ``, `` \Relay\Relay `` or ``\Predis ``.
29
29
30
- This adapter expects a `Redis `_, `RedisArray `_, `RedisCluster `_, or `Predis `_ instance to be
30
+ This adapter expects a `Redis `_, `RedisArray `_, `RedisCluster `_, ` Relay `_ (since Symfony 6.1) or `Predis `_ instance to be
31
31
passed as the first parameter. A namespace and default cache lifetime can optionally be passed
32
32
as the second and third parameters::
33
33
@@ -166,9 +166,9 @@ Available Options
166
166
~~~~~~~~~~~~~~~~~
167
167
168
168
``class `` (type: ``string ``, default: ``null ``)
169
- Specifies the connection library to return, either ``\Redis `` or ``\Predis\Client ``.
170
- If none is specified, it will return `` \Redis `` if the `` redis `` extension is
171
- available, and ``\Predis\Client `` otherwise . Explicitly set this to ``\Predis\Client `` for Sentinel if you are
169
+ Specifies the connection library to return, either ``\Redis ``, `` \Relay\Relay `` or ``\Predis\Client ``.
170
+ If none is specified, fallback value is in following order, depending which one is available first:
171
+ `` \Redis ``, `` \Relay\Relay ``, ``\Predis\Client ``. Explicitly set this to ``\Predis\Client `` for Sentinel if you are
172
172
running into issues when retrieving master information.
173
173
174
174
``persistent `` (type: ``int ``, default: ``0 ``)
@@ -258,6 +258,7 @@ Read more about this topic in the official `Redis LRU Cache Documentation`_.
258
258
.. _`Redis` : https://github.com/phpredis/phpredis
259
259
.. _`RedisArray` : https://github.com/phpredis/phpredis/blob/master/arrays.markdown#readme
260
260
.. _`RedisCluster` : https://github.com/phpredis/phpredis/blob/master/cluster.markdown#readme
261
+ .. _`Relay` : https://relay.so/
261
262
.. _`Predis` : https://packagist.org/packages/predis/predis
262
263
.. _`Predis Connection Parameters` : https://github.com/nrk/predis/wiki/Connection-Parameters#list-of-connection-parameters
263
264
.. _`TCP-keepalive` : https://redis.io/topics/clients#tcp-keepalive
0 commit comments