8000 minor #11878 Add stream_max_entries to full redis messenger dsn examp… · symfony/symfony-docs@e92d9b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit e92d9b8

Browse files
committed
minor #11878 Add stream_max_entries to full redis messenger dsn example (alexander-schranz)
This PR was merged into the 4.4 branch. Discussion ---------- Add stream_max_entries to full redis messenger dsn example As introduced in: #11870 Should also added to the full dsn example which was added in: #11874 Commits ------- 467d6c2 Add stream_max_entries to full redis messenger dsn example
2 parents def3df3 + 467d6c2 commit e92d9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ The Redis transport uses `streams`_ to queue messages.
890890
# .env
891891
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
892892
# Full DSN Example
893-
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1
893+
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0
894894
895895
To use the Redis transport, you will need the Redis PHP extension (^4.3) and
896896
a running Redis server (^5.0).

0 commit comments

Comments
 (0)
0