relay_cardinality/redis/
mod.rs

1mod cache;
2mod limiter;
3mod quota;
4mod script;
5mod state;
6
7pub use self::limiter::{RedisSetLimiter, RedisSetLimiterOptions};
8
9/// Key prefix used for Redis keys.
10const KEY_PREFIX: &str = "relay:cardinality";
11/// Redis key version.
12///
13/// The version is embedded in the key as a static segment, increment the version whenever there are
14/// breaking changes made to the keys or storage format in Redis.
15const KEY_VERSION: u32 = 1;