• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

theodi / open-data-certificate / 1748 / 1
82%
staging: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: staging
Ran 24 Sep 2015 02:36PM UTC
Files 84
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Sep 2015 02:26PM UTC coverage: 81.72%. First build
2.0.0

push

travis-ci

pkqk
Retry `save!` when a deadlock aborts the update

Two update queries in MySQL can deadlock if one
transaction gets the lock for the row and another
gets the lock for the index first (if it’s near by
in the index, i.e. close id numbers)

I tried shuffling the order the updates when into
the queue but that was not enough distribution to
solve this. The only solution is to retry the
query. Though ActiveRecord does not make this
easy.

2423 of 2965 relevant lines covered (81.72%)

132.08 hits per line

Source Files on job 1748.1 (2.0.0)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1748
  • Travis Job 1748.1
  • afbffffd on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc