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 13af194

Browse filesBrowse files
authored
[Messenger] Redis example with Unix Socket
This is the documentation change for symfony/symfony#35295
1 parent e4d8832 commit 13af194
Copy full SHA for 13af194

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎messenger.rst

Copy file name to clipboardExpand all lines: messenger.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,8 @@ The Redis transport uses `streams`_ to queue messages.
885885
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
886886
# Full DSN Example
887887
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0&dbindex=0
888+
# Unix Socket Example
889+
MESSENGER_TRANSPORT_DSN=redis:///var/run/redis.sock
888890
889891
To use the Redis transport, you will need the Redis PHP extension (>=4.3) and
890892
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.