Skip to content

Commit 5d0f97d

Browse files
committed
[Cache][Messenger] make both options redis_sentinel and sentinel_master available everywhere
1 parent d052a00 commit 5d0f97d

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

components/cache/adapters/redis_adapter.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ Available Options
200200
``redis_sentinel`` (type: ``string``, default: ``null``)
201201
Specifies the master name connected to the sentinels.
202202

203+
``sentinel_master`` (type: ``string``, default: ``null``)
204+
Alias of ``redis_sentinel`` option.
205+
203206
``dbindex`` (type: ``int``, default: ``0``)
204207
Specifies the database index to select.
205208

@@ -211,6 +214,11 @@ Available Options
211214
``ssl`` (type: ``array``, default: ``null``)
212215
SSL context options. See `php.net/context.ssl`_ for more information.
213216

217+
.. versionadded:: 7.1
218+
219+
The option `sentinel_master` as an alias for `redis_sentinel` was introduced
220+
in Symfony 7.1.
221+
214222
.. note::
215223

216224
When using the `Predis`_ library some additional Predis-specific options are available.

messenger.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,9 +1582,14 @@ read_timeout Float, value in seconds ``0``
15821582
timeout Connection timeout. Float, value in ``0``
15831583
seconds default indicates unlimited
15841584
sentinel_master String, if null or empty Sentinel null
1585-
support is disabled
1585+
redis_sentinel support is disabled
15861586
======================= ===================================== =================================
15871587

1588+
.. versionadded:: 7.1
1589+
1590+
The option `redis_sentinel` as an alias for `sentinel_master` was introduced
1591+
in Symfony 7.1.
1592+
15881593
.. caution::
15891594

15901595
There should never be more than one ``messenger:consume`` command running with the same

0 commit comments

Comments
 (0)