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

trotzig / diffux / 152
99%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2014 06:50AM UTC
Jobs 2
Files 23
Run time –
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

pending completion
152

push

travis-ci

trotzig
Add delay option to sweeps

At Causes, we need to be able to trigger a sweep to run after a certain
delay. This is because we plan to integrate the sweep triggering into
our deploy process. When we deploy, it takes a while for all the app
servers to re-initialize and run the new code, sometimes up to a minute.

This commit is meant to address the above use-case by allowing a delay
to be configured for a sweep. The delay is expressed in seconds and
stored as a timestamp in the database. Sidekiq (our async job handler)
already has support for scheduling jobs in the future so I just moved
the snapshot triggering code to a worker and triggered that worker after
a sweep is created.

384 of 395 relevant lines covered (97.22%)

45.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 152.1 (2.0.0) 12 Feb 2014 06:50AM UTC 0
97.22
Travis Job 152.1
2 152.2 (2.1.0) 12 Feb 2014 06:51AM UTC 0
97.22
Travis Job 152.2
Source Files on build 152
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #152
  • e2f61189 on github
  • Prev Build on master (#151)
  • Next Build on master (#153)
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