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

dgraph-io / ristretto / 10172585101
74%

Build:
DEFAULT BRANCH: main
Ran 31 Jul 2024 01:41AM UTC
Jobs 1
Files 23
Run time 1min
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

31 Jul 2024 01:35AM UTC coverage: 74.079% (+0.1%) from 73.974%
10172585101

push

github

web-flow
fix memory leaks in TTL implementation (#358)

The aim of this PR is to resolve three issues with the Ristretto TTL
implementation:

- Expiry cleanup is not guaranteed to run, leaking memory
- expiryMap isn't cleared when cache is cleared
- on Update, items are added into the expiryMap even if they have no TTL set

38 of 40 new or added lines in 2 files covered. (95.0%)

1 existing line in 1 file now uncovered.

2252 of 3040 relevant lines covered (74.08%)

2489277.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.81
-0.07% ttl.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.81
-0.07% ttl.go
Jobs
ID Job ID Ran Files Coverage
1 10172585101.1 31 Jul 2024 01:41AM UTC 23
74.08
GitHub Action Run
Source Files on build 10172585101
  • Tree
  • List 23
  • Changed 10
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ff87317a on github
  • Prev Build on main (#10053505449)
  • Next Build on main (#10172718427)
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