Q: Magento2 detect database deadlock event I want to detect database deadlock event in my Magento2 (2.3.2) store. Based on that I want to send email to higher authority persons to let them know about deadlock instantly.
Any help would be appreciated.
Thanks,

A: After lot of googling, I found below extension which I also modified little bit according to my project requirements:

https://www.cadence-labs.com/2018/09/magento-2-deadlock-retry-module/

Anyone can use it to detect database deadlock events on their projects. If you have queries related to this you may ask me in comment section.
Thanks, 
