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

salsify / delayed_job_heartbeat_plugin
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: bug/missing-migration-version
DEFAULT BRANCH: master
Repo Added 04 Nov 2015 03:59AM UTC
Files 8
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

LAST BUILD ON BRANCH feature/PLAT-1593-unlock-jobs-on-term
branch: feature/PLAT-1593-unlock-jobs-on-term
CHANGE BRANCH
x
Reset
  • feature/PLAT-1593-unlock-jobs-on-term
  • bug/missing-migration-version
  • feature/genesis
  • feature/logger
  • feature/test-rubies
  • master
  • v0.1.0
  • v0.2.0

pending completion
31

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%)

131.3 hits per line

Relevant lines Covered
Build:
Build:
171 RELEVANT LINES 166 COVERED LINES
131.3 HITS PER LINE
Source Files on feature/PLAT-1593-unlock-jobs-on-term
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31 feature/PLAT-1593-unlock-jobs-on-term 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 re... push 06 Jul 2017 01:31PM UTC atsheehan travis-ci pending completion  
See All Builds (34)
  • Repo 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

© 2025 Coveralls, Inc