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

ledestin / frugal_timeout / 60 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 21 Dec 2013 09:32AM UTC
Files 1
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

21 Dec 2013 09:29AM UTC coverage: 100.0%. Remained the same
2.0.0

push

travis-ci

ledestin
* Refactor.

It was bad code because it could discard a request that happened after current
request expired:
1. SleeperNotifier sleeps on condition variable.
2. A new request comes in, @request is assigned. Condition variable is signaled,
   SleeperNotifier wakes up.
3. SleeperNotifier had enough time to complete the request it was working on, so
   it assigns @request = nil.

Thus, the latest request would be lost. It only works because only nearer in
time requests are ever sent to SleeperNotifier before onExpire is called. Those
can be safely discarded if one of the previous requests expires because it would
cover all of them.

135 of 135 relevant lines covered (100.0%)

417.59 hits per line

Source Files on job 60.2 (2.0.0)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 60
  • Travis Job 60.2
  • f8676826 on github
  • Prev Job for 2.0.0 on master (#59.2)
  • Next Job for 2.0.0 on master (#61.2)
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