Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions relay-quotas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ redis = ["dep:thiserror", "dep:relay-log", "relay-redis/impl"]
workspace = true

[dependencies]
ahash = { workspace = true }
async-trait = { workspace = true }
hashbrown = { workspace = true }
papaya = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion relay-quotas/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ where
///
/// The cache is keyed with the individual quota, the value is the last known, currently
/// consumed amount of the quota.
cache: papaya::HashMap<T, CachedQuota>,
cache: papaya::HashMap<T, CachedQuota, ahash::RandomState>,

/// The amount the cache is allowed to opportunistically over-accept based on the remaining
/// quota.
Expand Down
Loading