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

ben-manes / caffeine / 2172
100%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2017 03:46AM UTC
Jobs 1
Files 67
Run time 3s
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
2172

push

travis-ci

ben-manes
Re-read the current time after a computation (fixes #191)

Previously, the current time was read once at the beginning of the
computation. This was used to determine if the entry had expired and,
when computed, the associated timestamp. For long computations and short
expiration times, this could result in the newly computed entry being
expired. A chain of computations would build up, each with timestamps
older than the last due to waiting for its predecessor.

Now the ticker is read again after the computation completes and the
timestamps are set. This means there are two reads on a computation,
but only 1 in the happy path of a cache hit. Note that obtaining the
time can be an expensive operation, so minimizing this is useful for
high loads.

Updated dependencies and fixed issues discovered by Spotbugs and
ErrorProne.

5715 of 6066 relevant lines covered (94.21%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2172.2 (GROUP=tests) 31 Oct 2017 03:46AM UTC 0
94.21
Travis Job 2172.2
Source Files on build 2172
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2172
  • 66764adf on github
  • Prev Build on master (#2166)
  • Next Build on master (#2177)
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