feat: use redis as messenger transport

This commit is contained in:
Maël Gangloff
2025-10-30 11:36:43 +01:00
parent 5e23e5527e
commit d04c1ea48a
2 changed files with 11 additions and 2 deletions

4
.env
View File

@@ -55,8 +55,8 @@ MESSENGER_CONSUMER_NAME=worker
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_ASYNC_TRANSPORT_DSN=doctrine://default?auto_setup=0
MESSENGER_RDAP_ASYNC_TRANSPORT_DSN=doctrine://default?auto_setup=0
MESSENGER_ASYNC_TRANSPORT_DSN=redis://localhost:6379/messages?lazy=1
MESSENGER_RDAP_ASYNC_TRANSPORT_DSN=redis://localhost:6379/messages-rdap?lazy=1
###< symfony/messenger ###