Skip to content

Commit 467d6c2

Browse files
Add stream_max_entries to full redis messenger dsn example
1 parent def3df3 commit 467d6c2

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)