public
Fork of rails/deadlock_retry
Description: Deadlock Retry plugin
Homepage: http://rubyonrails.org
Clone URL: git://github.com/mperham/deadlock_retry.git
name age message
file .gitignore Tue Oct 14 16:03:47 -0700 2008 Ensure a deadlocked transaction is retried from... [jamis]
file CHANGELOG Sat Feb 07 16:56:13 -0800 2009 Add changelog and jeweler [mperham]
file README Sat Feb 07 16:56:13 -0800 2009 Add changelog and jeweler [mperham]
file Rakefile Sat Feb 07 16:56:13 -0800 2009 Add changelog and jeweler [mperham]
file VERSION.yml Sat Feb 07 16:57:09 -0800 2009 Version bump to 1.0.0 [mperham]
file deadlock_retry.gemspec Sat Feb 07 17:02:54 -0800 2009 Regenerated gemspec for version 1.0.0 [mperham]
directory lib/ Sat Feb 07 16:41:05 -0800 2009 Spruce up the code to more recent idioms (alias... [mperham]
directory test/ Sat Feb 07 16:41:05 -0800 2009 Spruce up the code to more recent idioms (alias... [mperham]
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 mperham-deadlock_retry

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

  config.gem 'mperham-deadlock_retry', :lib => 'deadlock_retry', :source => 'http://gems.github.com'


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