Skip to content

Add MaxCacheItems option#846

Merged
bruno-garcia merged 4 commits intomainfrom
max-cache-items
Feb 25, 2021
Merged

Add MaxCacheItems option#846
bruno-garcia merged 4 commits intomainfrom
max-cache-items

Conversation

@Tyrrrz
Copy link
Copy Markdown
Contributor

@Tyrrrz Tyrrrz commented Feb 22, 2021

Closes #736

@Tyrrrz Tyrrrz requested a review from bruno-garcia as a code owner February 22, 2021 19:47
@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 22, 2021

Codecov Report

Merging #846 (497729a) into main (253b875) will decrease coverage by 0.01%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #846      +/-   ##
==========================================
- Coverage   80.97%   80.96%   -0.02%     
==========================================
  Files         177      177              
  Lines        5615     5621       +6     
  Branches     1408     1409       +1     
==========================================
+ Hits         4547     4551       +4     
- Misses        649      650       +1     
- Partials      419      420       +1     
Impacted Files Coverage Δ
src/Sentry/Internal/Http/CachingTransport.cs 75.16% <66.66%> (ø)
src/Sentry/SentryOptions.cs 90.64% <66.66%> (-1.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 253b875...497729a. Read the comment docs.

Copy link
Copy Markdown
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

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

  1. We need to add this to the docs.
  2. This is a breaking change technically. Since users before were using a different field to set this value. We need to add a note on the release notes.
  3. Tests are flaky

Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
@Tyrrrz
Copy link
Copy Markdown
Contributor Author

Tyrrrz commented Feb 23, 2021

@bruno-garcia mention the breaking change in the changelog? or in docs?

@bruno-garcia bruno-garcia merged commit 5e429d2 into main Feb 25, 2021
@bruno-garcia bruno-garcia deleted the max-cache-items branch February 25, 2021 20:01
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.

Add MaxCacheItems to control max number of files on disk

3 participants