mperham / deadlock_retry forked from rails/deadlock_retry

Deadlock Retry plugin

This URL has Read+Write access

mperham (author)
Sat Feb 07 17:02:54 -0800 2009
commit  b2f7dd262e5378163bbc2c4fe90b86d887461d13
tree    dd1c4517c9dcce2dd8dc170bddf16c35313264f6
parent  855a1ee8b84c49369acad30ca3d2bddccea4ac17
deadlock_retry / README
100644 21 lines (11 sloc) 0.683 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
= 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