mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-29 19:10:38 +00:00
## Problem The endpoint filter cache is still unused because it's not yet reliable enough to be used. It only consumes a lot of memory. ## Summary of changes Remove the code. Needs a new design. neondatabase/cloud#30634
12 lines
369 B
Rust
12 lines
369 B
Rust
mod leaky_bucket;
|
|
mod limit_algorithm;
|
|
mod limiter;
|
|
|
|
pub use leaky_bucket::{EndpointRateLimiter, LeakyBucketConfig, LeakyBucketRateLimiter};
|
|
#[cfg(test)]
|
|
pub(crate) use limit_algorithm::aimd::Aimd;
|
|
pub(crate) use limit_algorithm::{
|
|
DynamicLimiter, Outcome, RateLimitAlgorithm, RateLimiterConfig, Token,
|
|
};
|
|
pub use limiter::{RateBucketInfo, WakeComputeRateLimiter};
|