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

dgraph-io / ristretto / 6055945993
74%

Build:
DEFAULT BRANCH: main
Ran 02 Sep 2023 02:52AM UTC
Jobs 1
Files 23
Run time 1s
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.357% (-0.4%) from 73.707%
6055945993

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

2233 of 3044 relevant lines covered (73.36%)

2484646.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6055945993.1 02 Sep 2023 02:52AM UTC 0
73.36
GitHub Action Run
Source Files on build 6055945993
Detailed source file information is not available for this build.
  • Back to Repo
  • 91446626 on github
  • Prev Build on main (#6044253271)
  • Next Build on main (#6070857905)
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