Skip to content

Commit a61fe83

Browse files
committed
minor #12924 [Messenger] Redis example with Unix Socket (JJarrie)
This PR was merged into the master branch. Discussion ---------- [Messenger] Redis example with Unix Socket This is the documentation change for symfony/symfony#35295 . Commits ------- 13af194 [Messenger] Redis example with Unix Socket
2 parents 242d7ef + 13af194 commit a61fe83

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)