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 Cleaner #13

Merged
merged 1 commit into from
Apr 7, 2023
Merged

Add Cleaner #13

merged 1 commit into from
Apr 7, 2023

Conversation

erni27
Copy link
Owner

@erni27 erni27 commented Apr 7, 2023

This PR adds a Cleaner.

A Cleaner periodically removes expired entries. Its interval is specified by the user. It runs in a separate goroutine.

@codecov-commenter
Copy link

Codecov Report

Merging #13 (cf49afb) into master (0312335) will increase coverage by 0.42%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage   96.80%   97.22%   +0.42%     
==========================================
  Files           6        7       +1     
  Lines         313      361      +48     
==========================================
+ Hits          303      351      +48     
  Misses         10       10              
Impacted Files Coverage Δ
cache.go 100.00% <100.00%> (ø)
cleaner.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@erni27 erni27 merged commit 32ce49a into master Apr 7, 2023
@erni27 erni27 deleted the add-cleaner branch April 7, 2023 21:30
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.

None yet

2 participants