MAX_REDIS_KEY_TTL_S

Constant MAX_REDIS_KEY_TTL_S 

Source
pub const MAX_REDIS_KEY_TTL_S: u64 = 604_800;
Expand description

Validation ceiling on gateway.redis_rate_limiter.key_ttl_s (DW-031): 7 days is the longest a stale rate-limit key should linger in Redis (beyond that the operator should lower it to keep Redis memory bounded under key spray).