Skip to content

Commit 1581605

Browse files
committed
minor #12357 Fixed the order of Doctrine middleware in Messenger component (javiereguiluz)
This PR was merged into the 4.3 branch. Discussion ---------- Fixed the order of Doctrine middleware in Messenger component This makes the changed asked by @wtorsi in #11868. Commits ------- 7ec76f1 Fixed the order of Doctrine middleware in Messenger component
2 parents 4aae265 + 7ec76f1 commit 1581605

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

messenger.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,11 +1376,6 @@ may want to use:
13761376
buses:
13771377
command_bus:
13781378
middleware:
1379-
# wraps all handlers in a single Doctrine transaction
1380-
# handlers do not need to call flush() and an error
1381-
# in any handler will cause a rollback
1382-
- doctrine_transaction
1383-
13841379
# each time a message is handled, the Doctrine connection
13851380
# is "pinged" and reconnected if it's closed. Useful
13861381
# if your workers run for a long time and the database
@@ -1392,6 +1387,11 @@ may want to use:
13921387
# instead of keeping them open forever
13931388
- doctrine_close_connection
13941389
1390+
# wraps all handlers in a single Doctrine transaction
1391+
# handlers do not need to call flush() and an error
1392+
# in any handler will cause a rollback
1393+
- doctrine_transaction
1394+
13951395
# or pass a different entity manager to any
13961396
#- doctrine_transaction: ['custom']
13971397

0 commit comments

Comments
 (0)