Skip to content

Commit 97cfc8b

Browse files
committed
Warm the cache
1 parent 1450b35 commit 97cfc8b

File tree

8 files changed

+413
-24
lines changed

8 files changed

+413
-24
lines changed

application/.env

+7
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ APP_SECRET=7b4fa3df142f562c70682860864910c7
2323
AWS_KEY=not-a-real-key
2424
AWS_SECRET=@@not-a-real-secret
2525
###< aws/aws-sdk-php-symfony ###
26+
27+
###> symfony/messenger ###
28+
# Choose one of the transports below
29+
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
30+
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
31+
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
32+
###< symfony/messenger ###

application/composer.json

+2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
"symfony/flex": "^2.4",
1616
"symfony/form": "6.4.*",
1717
"symfony/framework-bundle": "6.4.*",
18+
"symfony/messenger": "6.4.*",
1819
"symfony/monolog-bundle": "^3.10",
1920
"symfony/runtime": "6.4.*",
21+
"symfony/scheduler": "6.4.*",
2022
"symfony/twig-bundle": "6.4.*",
2123
"symfony/ux-chartjs": "^2.22",
2224
"symfony/validator": "6.4.*",

application/composer.lock

+290-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
framework:
2+
messenger:
3+
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
4+
# failure_transport: failed
5+
6+
transports:
7+
# https://symfony.com/doc/current/messenger.html#transport-configuration
8+
# async: '%env(MESSENGER_TRANSPORT_DSN)%'
9+
# failed: 'doctrine://default?queue_name=failed'
10+
# sync: 'sync://'
11+
12+
routing:
13+
# Route your messages to the transports
14+
# 'App\Message\YourMessage': async
15+
16+
# when@test:
17+
# framework:
18+
# messenger:
19+
# transports:
20+
# # replace with your transport name here (e.g., my_transport: 'in-memory://')
21+
# # For more Messenger testing tools, see https://github.com/zenstruck/messenger-test
22+
# async: 'in-memory://'

0 commit comments

Comments
 (0)