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

dgraph-io / ristretto
74%
main: 74%

Build:
Build:
LAST BUILD BRANCH: fix-ticker-leak
DEFAULT BRANCH: main
Repo Added 07 Oct 2022 06:16PM UTC
Files 23
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

LAST BUILD ON BRANCH aman/cleanup
branch: aman/cleanup
CHANGE BRANCH
x
Reset
  • aman/cleanup
  • aman/lint
  • chore-fix-typo-error
  • cleanup_ticker_config
  • docs/format_readme
  • evan.jones/dropupdates-flaky
  • evan.jones/ristretto-docs
  • fix-ticker-leak
  • frankreh/fix-sketch3
  • glogless
  • joshua/sec
  • main
  • remove_glog
  • synk-fork
  • typo

31 Aug 2023 06:52AM UTC coverage: 73.707% (+0.02%) from 73.689%
6036413660

push

web-flow
set missing Expiration field on evicted items (#345)

On our use case we need to rely on expiration timestamps but we realized
that they return zero timestamps. Our assumption is that this is due to
a bug and not by design.

## Problem
When `OnEvict` callback is executed `Item` does not have `Expiration`
field set. Considering it is a public field this needs to be set and
available.

## Solution
Initialize `Expiration` field before calling the `onEvict` callback

6 of 6 new or added lines in 1 file covered. (100.0%)

2223 of 3016 relevant lines covered (73.71%)

2507021.33 hits per line

Relevant lines Covered
Build:
Build:
3016 RELEVANT LINES 2223 COVERED LINES
2507021.33 HITS PER LINE
Source Files on aman/cleanup
  • Tree
  • List 23
  • Changed 10
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6036413660 aman/cleanup set missing Expiration field on evicted items (#345) On our use case we need to rely on expiration timestamps but we realized that they return zero timestamps. Our assumption is that this is due to a bug and not by design. ## Problem When `... push 31 Aug 2023 11:06AM UTC web-flow
73.71
See All Builds (7649)
  • Repo 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

© 2025 Coveralls, Inc