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

salsify / delayed_job_heartbeat_plugin / 31 / 1
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: bug/missing-migration-version
DEFAULT BRANCH: master
Ran 06 Jul 2017 01:31PM UTC
Files 8
Run time 0s
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

06 Jul 2017 01:25PM UTC coverage: 97.076%. First build
2.3.3, RAILS_VERSION="~> 3.2.22"

push

travis-ci

atsheehan
Worker clears locks on shutdown [PLAT-1593]

In some cases the ClearLocks plugin from Delayed::Job may fail to clear
the locked_at/locked_by fields on a job because it was interrupted at a
bad time (see [PLAT-1590]). The delayed_worker is still removed since
the heartbeat is using a separate connection, leaving orphaned jobs
behind that are not re-run until the 4 hour max run time has passed.

This change will require the worker to clear its own locks when it is
shutting down before it removes itself from the delayed_workers table.

166 of 171 relevant lines covered (97.08%)

6.46 hits per line

Source Files on job 31.1 (2.3.3, RAILS_VERSION="~> 3.2.22")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 31
  • Travis Job 31.1
  • 84882df2 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