The problem I am trying to solve is to wrap all flush functions in order to catch DeadLockExceptions and try at least 3 times again. The idea is to make the default entity manager point to a custom one where to extend the default one and overwrite flush function with try catch. How to point the default configuration to custom one?
flush
entity_managers: default: auto_mapping: true metadata_cache_driver: type: service id: doctrine.cache.memcached query_cache_driver: array result_cache_driver: type: service id: doctrine.cache.memcached
1.4m articles
1.4m replys
5 comments
57.0k users