Skip to content

Commit

Permalink
detect lock wait timeout as deadlock (#19749)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Lambell authored and taylorotwell committed Jun 25, 2017
1 parent 4bae8a4 commit bc0f60b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Database/DetectsDeadlocks.php
Expand Up @@ -25,6 +25,7 @@ protected function causedByDeadlock(Exception $e)
'database table is locked',
'A table in the database is locked',
'has been chosen as the deadlock victim',
'Lock wait timeout exceeded; try restarting transaction',
]);
}
}

0 comments on commit bc0f60b

Please sign in to comment.