Skip to content

Commit fde6833

Browse files
committed
feature #19241 [Cache][Messenger] make both options redis_sentinel and sentinel_mast… (alamirault)
This PR was merged into the 7.1 branch. Discussion ---------- [Cache][Messenger] make both options redis_sentinel and sentinel_mast… …er available everywhere Fix #19235 Commits ------- 5d0f97d [Cache][Messenger] make both options redis_sentinel and sentinel_master available everywhere
2 parents 68a3289 + 5d0f97d commit fde6833

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
@@ -1583,9 +1583,14 @@ read_timeout Float, value in seconds ``0``
15831583
timeout Connection timeout. Float, value in ``0``
15841584
seconds default indicates unlimited
15851585
sentinel_master String, if null or empty Sentinel null
1586-
support is disabled
1586+
redis_sentinel support is disabled
15871587
======================= ===================================== =================================
15881588

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

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

0 commit comments

Comments
 (0)