skip to Main Content

How to handle deadlocks in Laravel

Laravel docs recommends using attempts to deal with Deadlocks (https://shorturl.at/bsKta) But, the handleTransactionException() method inside the transaction() method has a comment: On a deadlock, MySQL rolls back the entire transaction so we can't just retry the query. We have to…

VIEW QUESTION
Back To Top
Search