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 MaxEntries option #23

Merged
merged 5 commits into from
Apr 14, 2023
Merged

Add MaxEntries option #23

merged 5 commits into from
Apr 14, 2023

Conversation

erni27
Copy link
Owner

@erni27 erni27 commented Apr 13, 2023

This PR adds a max number of entries option.

@codecov-commenter
Copy link

codecov-commenter commented Apr 13, 2023

Codecov Report

Merging #23 (bd470f4) into master (3ae5464) will decrease coverage by 2.62%.
The diff coverage is 93.27%.

📣 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      #23      +/-   ##
==========================================
- Coverage   97.49%   94.88%   -2.62%     
==========================================
  Files           8        9       +1     
  Lines         399      508     +109     
==========================================
+ Hits          389      482      +93     
- Misses         10       22      +12     
- Partials        0        4       +4     
Impacted Files Coverage Δ
eviction.go 0.00% <0.00%> (ø)
cache.go 96.30% <93.22%> (-3.70%) ⬇️
queue.go 96.96% <96.96%> (ø)
entry.go 100.00% <100.00%> (ø)
option.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 changed the title Add MaxSize option Add MaxEntries option Apr 13, 2023
@erni27 erni27 marked this pull request as ready for review April 14, 2023 19:43
@erni27 erni27 merged commit c38002d into master Apr 14, 2023
2 checks passed
@erni27 erni27 deleted the add-size-limit branch April 14, 2023 19:46
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