deadlock_retry
deadlock_retry copied to clipboard
NOTICE: official repository moved to https://github.com/heaps/deadlock_retry
Deadlock Retry
Deadlock retry allows the database adapter (currently only tested with the MySQLAdapter) to retry transactions that fall into deadlock. It will retry such transactions three times before finally failing.
This capability is automatically added to ActiveRecord. No code changes or otherwise are required.
Copyright (c) 2005 Jamis Buck, released under the MIT license