Skip to content

Commit b9ab39f

Browse files
committed
minor #16182 [Messenger] Fix example config (shafan)
This PR was merged into the 5.4 branch. Discussion ---------- [Messenger] Fix example config The reset_on_message config is in messenger and not in async. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- ccc04fe Fix exemple config
2 parents d41eff2 + ccc04fe commit b9ab39f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

messenger.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,10 +719,11 @@ reset the service container between two messages:
719719
# config/packages/messenger.yaml
720720
framework:
721721
messenger:
722+
reset_on_message: true
722723
transports:
723724
async:
724725
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
725-
reset_on_message: true
726+
726727
727728
.. code-block:: xml
728729

0 commit comments

Comments
 (0)