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

feat: simple cache gc #656

Merged
merged 3 commits into from Dec 16, 2023
Merged

feat: simple cache gc #656

merged 3 commits into from Dec 16, 2023

Conversation

pluveto
Copy link
Contributor

@pluveto pluveto commented Dec 14, 2023

A new GC() method has been added to the Cache struct, which performs garbage collection by deleting expired entries from the cache.

A new `GC()` method has been added to the `Cache` struct,
which performs garbage collection by deleting expired entries from the
cache.
@pluveto pluveto changed the title feat: garbage collection feature feat: simple cache gc Dec 14, 2023
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (df3e983) 52.03% compared to head (e804e6f) 52.42%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #656      +/-   ##
==========================================
+ Coverage   52.03%   52.42%   +0.38%     
==========================================
  Files          67       67              
  Lines        3073     3098      +25     
==========================================
+ Hits         1599     1624      +25     
  Misses       1370     1370              
  Partials      104      104              
Flag Coverage Δ
go 52.42% <100.00%> (+0.38%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pull-request-size pull-request-size bot added size/M and removed size/S labels Dec 14, 2023
@pluveto pluveto requested a review from qwqcode December 14, 2023 03:18
@qwqcode qwqcode merged commit f56ac4e into master Dec 16, 2023
8 checks passed
@qwqcode qwqcode deleted the feat/cache-gc branch December 16, 2023 18:32
qwqcode pushed a commit that referenced this pull request Dec 16, 2023
* feat: garbage collection feature

A new `GC()` method has been added to the `Cache` struct,
which performs garbage collection by deleting expired entries from the
cache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants