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

Prevent usage of LRU queue if not needed #26

Merged
merged 3 commits into from
Apr 15, 2023
Merged

Prevent usage of LRU queue if not needed #26

merged 3 commits into from
Apr 15, 2023

Conversation

erni27
Copy link
Owner

@erni27 erni27 commented Apr 15, 2023

This PR prevents usage of additional data structure if not needed.

Fixes: #25

@codecov-commenter
Copy link

codecov-commenter commented Apr 15, 2023

Codecov Report

Merging #26 (39ace84) into master (14d3d49) will increase coverage by 0.05%.
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      #26      +/-   ##
==========================================
+ Coverage   94.88%   94.94%   +0.05%     
==========================================
  Files           9        9              
  Lines         508      514       +6     
==========================================
+ Hits          482      488       +6     
  Misses         22       22              
  Partials        4        4              
Impacted Files Coverage Δ
cache.go 96.30% <ø> (ø)
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 merged commit 8a39547 into master Apr 15, 2023
2 checks passed
@erni27 erni27 deleted the fix-options branch April 15, 2023 08:37
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.

Do not maintain LRU queue if max entries limit less or equal to 0
2 participants