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

dgraph-io / ristretto / 6046105025
74%

Build:
DEFAULT BRANCH: main
Ran 01 Sep 2023 06:15AM UTC
Jobs 1
Files 23
Run time 2s
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

01 Sep 2023 06:05AM UTC coverage: 73.716% (+0.009%) from 73.707%
6046105025

push

github

web-flow
stop cleanupTicker while closing cache (#343)

## Problem
`cleanupTicker `that is created in `NewCache` is never stopped, which is
why the code below causes a memory leak

```go
for {
	c, _ := NewCache(...)
	c.Close()
}
```

## Solution
Stop `cleanupTicker` in `Close` method

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

2224 of 3017 relevant lines covered (73.72%)

2504765.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6046105025.1 01 Sep 2023 06:15AM UTC 23
73.72
GitHub Action Run
Source Files on build 6046105025
  • Tree
  • List 23
  • Changed 11
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 91446626 on github
  • Prev Build on main (#6044253271)
  • Next Build on main (#6055945993)
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