8000 Add stream_max_entries to full redis messenger dsn example · symfony/symfony-docs@71ae81b · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 71ae81b

Browse files
Add stream_max_entries to full redis messenger dsn example
1 parent e5d65e2 commit 71ae81b

File tree

1 file cha 8000 nged

+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
@@ -866,7 +866,7 @@ The Redis transport uses `streams`_ to queue messages.
866866
# .env
867867
MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
868868
# Full DSN Example
869-
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1
869+
MESSENGER_TRANSPORT_DSN=redis://password@localhost:6379/messages/symfony/consumer?auto_setup=true&serializer=1&stream_max_entries=0
870870
871871
To use the Redis transport, you will need the Redis PHP extension (^4.3) and
872872
a running Redis server (^5.0).

0 commit comments

Comments
 (0)
0