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

berkmancenter / mediacloud / 3570 / 1
57%
master: 70%

Build:
Build:
LAST BUILD BRANCH: release
DEFAULT BRANCH: master
Ran 17 Apr 2017 08:26PM UTC
Files 183
Run time 15s
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

17 Apr 2017 07:39PM UTC coverage: 56.525%. First build
3570.1

push

travis-ci

hroberts
requeue media locked extractor jobs to avoid media congestion

Our extractor job pool has the potential to get stuck on a single choke point in
the sentence deduping code, where it has to wait for a lock on the media_id
story.  If the extractor job pool gets a long series of stories with the same media_id,
we can end up waiting for the pool to process one of those jobs at a time until the
media_id series is cleared.

This commit mitigates this issue by checking at the very beginning of the extract_and_vector
job whether the media_id of the story is currently locked, using a non-blocking call.  If the
media_id is locked, the job just requeues itself under low priority and exits.  This will still
allow for a brief backlog when a few stories from the same media_id are initially put into the
queue, but it should clear up any of those backlogs within a couple of minutes, instead of
potentially blocking for a couple of days, as has happened a couple of times.

8394 of 14850 relevant lines covered (56.53%)

1581.89 hits per line

Source Files on job 3570.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3570
  • Travis Job 3570.1
  • 86b59da5 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