Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ttlcache package #80

Merged
merged 2 commits into from
Dec 27, 2023
Merged

Add ttlcache package #80

merged 2 commits into from
Dec 27, 2023

Conversation

ItalyPaleAle
Copy link
Contributor

This implements an in-memory cache with a TTL for automatically expiring records

This implements an in-memory cache with a TTL for automatically expiring records

Signed-off-by: ItalyPaleAle <[email protected]>
Signed-off-by: ItalyPaleAle <[email protected]>
@ItalyPaleAle ItalyPaleAle requested review from a team as code owners December 21, 2023 22:12
@codecov-commenter
Copy link

Codecov Report

Attention: 22 lines in your changes are missing coverage. Please review.

Comparison is base (abe711e) 80.10% compared to head (9165c5a) 79.98%.

Files Patch % Lines
ttlcache/ttlcache.go 73.80% 18 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #80      +/-   ##
==========================================
- Coverage   80.10%   79.98%   -0.13%     
==========================================
  Files          54       55       +1     
  Lines        4248     4332      +84     
==========================================
+ Hits         3403     3465      +62     
- Misses        702      720      +18     
- Partials      143      147       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@daixiang0 daixiang0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ItalyPaleAle ItalyPaleAle merged commit 77f7f03 into main Dec 27, 2023
6 checks passed
@ItalyPaleAle ItalyPaleAle deleted the ttlcache branch December 27, 2023 15:26
@ItalyPaleAle ItalyPaleAle restored the ttlcache branch December 27, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants