Skip to content

[Cache][Messenger] make both options redis_sentinel and sentinel_mast… #19241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions components/cache/adapters/redis_adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ Available Options
``redis_sentinel`` (type: ``string``, default: ``null``)
Specifies the master name connected to the sentinels.

``sentinel_master`` (type: ``string``, default: ``null``)
Alias of ``redis_sentinel`` option.

``dbindex`` (type: ``int``, default: ``0``)
Specifies the database index to select.

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

.. versionadded:: 7.1

The option `sentinel_master` as an alias for `redis_sentinel` was introduced
in Symfony 7.1.

.. note::

When using the `Predis`_ library some additional Predis-specific options are available.
Expand Down
7 changes: 6 additions & 1 deletion messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1582,9 +1582,14 @@ read_timeout Float, value in seconds ``0``
timeout Connection timeout. Float, value in ``0``
seconds default indicates unlimited
sentinel_master String, if null or empty Sentinel null
support is disabled
redis_sentinel support is disabled
======================= ===================================== =================================

.. versionadded:: 7.1

The option `redis_sentinel` as an alias for `sentinel_master` was introduced
in Symfony 7.1.

.. caution::

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