Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b6ccd66

Browse filesBrowse files
committed
[Messenger] Allow to configure the db index on Redis transport
1 parent e679a37 commit b6ccd66
Copy full SHA for b6ccd66

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎messenger.rst

Copy file name to clipboardExpand all lines: messenger.rst
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,11 @@ The Redis transport uses `streams`_ to queue messages.
896896
# .env
897897
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
898898
# Full DSN Example
899-
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0
899+
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0
900+
901+
.. versionadded:: 4.4
902+
903+
The ``dbindex`` query parameter in Redis DSN was introduced in Symfony 4.4.
900904

901905
To use the Redis transport, you will need the Redis PHP extension (^4.3) and
902906
a running Redis server (^5.0).

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.