Deadlock Retry plugin
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 30 commits ahead of rails:master.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
CHANGELOG
Gemfile
LICENSE
README
Rakefile
deadlock_retry.gemspec Merge pull request #12 from kbrock/activerecord_gem Feb 9, 2012

README

= 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.

== Installation

Add it to your Rails application by installing the gem:

  gem install deadlock_retry

and including a reference to it in your application's Gemfile:

  gem 'deadlock_retry'