Skip to content

Commit 36965ac

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Fixed the order of Doctrine middleware in Messenger component
2 parents f4c03e2 + 1581605 commit 36965ac

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
@@ -1384,11 +1384,6 @@ may want to use:
13841384
buses:
13851385
command_bus:
13861386
middleware:
1387-
# wraps all handlers in a single Doctrine transaction
1388-
# handlers do not need to call flush() and an error
1389-
# in any handler will cause a rollback
1390-
- doctrine_transaction
1391-
13921387
# each time a message is handled, the Doctrine connection
13931388
# is "pinged" and reconnected if it's closed. Useful
13941389
# if your workers run for a long time and the database
@@ -1400,6 +1395,11 @@ may want to use:
14001395
# instead of keeping them open forever
14011396
- doctrine_close_connection
14021397
1398+
# wraps all handlers in a single Doctrine transaction
1399+
# handlers do not need to call flush() and an error
1400+
# in any handler will cause a rollback
1401+
- doctrine_transaction
1402+
14031403
# or pass a different entity manager to any
14041404
#- doctrine_transaction: ['custom']
14051405

0 commit comments

Comments
 (0)