Skip to content

Commit ccc04fe

Browse files
authored
Fix exemple config
The reset_on_message config is in messenger and not in async.
1 parent 09b8196 commit ccc04fe

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)