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

collectiveidea / delayed_job / 432 / 15
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2015 06:49PM UTC
Files 16
Run time 8s
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

30 Jan 2015 06:46PM UTC coverage: 89.342% (+0.06%) from 89.286%
1.9.3, RAILS_VERSION="~> 3.2.0"

Pull #773

travis-ci

brianhempel
Make Delayed::Worker.new idempotent 

Calling Delayed::Worker.new multiple times would continue to re-add the
plugins to the lifecycle.

Some gems and projects use the pattern `Delayed::Worker.new.work_off` to
trigger delayed jobs in specs. Over time, the callback chain would get
very long and, in our case, caused a StackLevelTooDeep error.

Better would be to have a proper singleton: 

`Delayed::Worker.worker.work_off`

In the absence of a proper singleton, this will make the pattern work.
Pull Request #773: Make Delayed::Worker.new idempotent

855 of 957 relevant lines covered (89.34%)

18.04 hits per line

Source Files on job 432.15 (1.9.3, RAILS_VERSION="~> 3.2.0")
  • Tree
  • List 0
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 432
  • Travis Job 432.15
  • d30aa453 on github
  • Prev Job for 1.9.3, RAILS_VERSION="~> 3.2.0" on master (#426.15)
  • Next Job for 1.9.3, RAILS_VERSION="~> 3.2.0" on master (#433.15)
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