Deadlock Retry plugin
Ruby
Pull request Compare This branch is 9 commits ahead, 24 commits behind mperham:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
CHANGELOG
README
Rakefile
VERSION.yml
negval-deadlock_retry.gemspec

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:

  sudo gem install negval-deadlock_retry

and including a reference to it in your application's config/environment.rb:

  config.gem 'negval-deadlock_retry', :lib => 'deadlock_retry', :source => 'http://rubygems.com'


Copyright (c) 2005 Jamis Buck, released under the MIT license