mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
feat: use redis as messenger transport
This commit is contained in:
parent
5e23e5527e
commit
d04c1ea48a
4
.env
4
.env
@ -55,8 +55,8 @@ MESSENGER_CONSUMER_NAME=worker
|
|||||||
# Choose one of the transports below
|
# Choose one of the transports below
|
||||||
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
||||||
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
||||||
MESSENGER_ASYNC_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
MESSENGER_ASYNC_TRANSPORT_DSN=redis://localhost:6379/messages?lazy=1
|
||||||
MESSENGER_RDAP_ASYNC_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
MESSENGER_RDAP_ASYNC_TRANSPORT_DSN=redis://localhost:6379/messages-rdap?lazy=1
|
||||||
###< symfony/messenger ###
|
###< symfony/messenger ###
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
9
.github/workflows/lint-and-tests.yml
vendored
9
.github/workflows/lint-and-tests.yml
vendored
@ -120,6 +120,15 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
valkey:
|
||||||
|
image: valkey/valkey:latest
|
||||||
|
options: >-
|
||||||
|
--health-cmd "valkey-cli ping"
|
||||||
|
--health-interval 10s
|
||||||
|
--health-timeout 5s
|
||||||
|
--health-retries 5
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user