diff --git a/messenger.rst b/messenger.rst index 45226034e05..0baa7d96dee 100644 --- a/messenger.rst +++ b/messenger.rst @@ -890,7 +890,7 @@ The Redis transport uses `streams`_ to queue messages. # .env MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages # Full DSN Example - MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1 + MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0 To use the Redis transport, you will need the Redis PHP extension (^4.3) and a running Redis server (^5.0).