forked from mperham/deadlock_retry
-
Notifications
You must be signed in to change notification settings - Fork 1
Deadlock Retry plugin
License
cdd/deadlock_retry
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
= 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' ## Installation ``` cd ~/dev git clone git@github.com:cdd/deadlock_retry.git cd deadlock_retry # build the docker container make # manually update the Gemfile.lock make shell bundle install exit # run the the test suite make test ``` ## Development ``` make guard ``` ## Bumping the version 1. Bump the version number in `lib/deadlock_retry/version.rb` 2. Add an entry to `CHANGELOG.md` 3. Run the following so Gemfile.lock is updated: ``` make shell bundle install exit ```
About
Deadlock Retry plugin
Resources
License
Security policy
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 94.0%
- Makefile 5.2%
- Dockerfile 0.8%