Skip to content

Conversation

conradludgate
Copy link
Contributor

  1. Allows removing account/projects/endpoints when they're no longer referenced in the cache
  2. Allows for lock free insertion/invalidation of projects/accounts.

I don't know if this PR is actually a good idea - it's a lot of complexity right now. I just wanted to scratch an itch and it did seem to work.

clashmap.workspace = true
compute_api.workspace = true
consumption_metrics.workspace = true
crossbeam-skiplist = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "8d24b3460bb7a9968e2ee21eeb42c16b0b5d02e9" }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The range query hacks I've done in this PR depend on the "Comparable" trait, which crossbeam-skiplist supports but has not yet been released to crates-io.

Copy link

9042 tests run: 8393 passed, 0 failed, 649 skipped (full report)


Code coverage* (full report)

  • functions: 34.8% (8819 of 25345 functions)
  • lines: 45.9% (71467 of 155766 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
8549b42 at 2025-07-26T19:08:56.988Z :recycle:

Base automatically changed from conrad/moka-metrics to main July 28, 2025 10:56
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.

1 participant