Skip to content

Commit e1ac58c

Browse files
committed
[Cache] Add note that Predis ignores the auth option
1 parent 11ca700 commit e1ac58c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/cache/adapters/redis_adapter.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ Available Options
189189
for ACL-based authentication. When ``null``, the credentials are extracted from
190190
the DSN (e.g. ``redis://user:password@host``).
191191

192+
.. note::
193+
194+
When using `Predis`_, this option is ignored. Provide credentials via the
195+
DSN instead.
196+
192197
``persistent`` (type: ``int``, default: ``0``)
193198
Enables or disables use of persistent connections. A value of ``0`` disables persistent
194199
connections, and a value of ``1`` enables them.

0 commit comments

Comments
 (0)