foyer-rs / foyer

Hybrid in-memory and disk cache in Rust
https://foyer.rs
Apache License 2.0
291 stars 20 forks source link

fix: do not scale in shards when capacity is not enough, just warn #769

Closed MrCroxx closed 2 weeks ago

MrCroxx commented 2 weeks ago

What's changed and what's your intention?

Please explain IN DETAIL what the changes are in this PR and why they are needed. :D

Sometimes, it is still useful.

Checklist

Related issues or PRs (optional)

fix #768

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
foyer-memory/src/cache.rs 50.00% 1 Missing :warning:
Files with missing lines Coverage Δ
foyer-memory/src/generic.rs 90.58% <ø> (-0.47%) :arrow_down:
foyer-memory/src/cache.rs 84.59% <50.00%> (-1.16%) :arrow_down: