al8n / stretto

Stretto is a Rust implementation for Dgraph's ristretto (https://github.com/dgraph-io/ristretto). A high performance memory-bound Rust cache.
Apache License 2.0
413 stars 28 forks source link

fix: mutex across .await #43

Closed Millione closed 1 year ago

Millione commented 1 year ago

Sorry for the mistake I made.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.14 :warning:

Comparison is base (3722122) 83.70% compared to head (ebf705b) 83.57%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #43 +/- ## ========================================== - Coverage 83.70% 83.57% -0.14% ========================================== Files 17 17 Lines 1921 1924 +3 ========================================== Hits 1608 1608 - Misses 313 316 +3 ``` | [Impacted Files](https://codecov.io/gh/al8n/stretto/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) | Coverage Δ | | |---|---|---| | [src/policy.rs](https://codecov.io/gh/al8n/stretto/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL3BvbGljeS5ycw==) | `94.73% <ø> (ø)` | | | [src/policy/async.rs](https://codecov.io/gh/al8n/stretto/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL3BvbGljeS9hc3luYy5ycw==) | `82.69% <ø> (ø)` | | | [src/ring.rs](https://codecov.io/gh/al8n/stretto/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL3JpbmcucnM=) | `71.42% <33.33%> (-11.91%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.