8000 [Messenger] Redis example with Unix Socket · symfony/symfony-docs@13af194 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13af194

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

messenger.rst

Lines 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