Files
OmniRoute/docs/reference
datrixlab 23677dacf0 fix(redis): namespace warmup circuit-breaker keys with REDIS_KEY_PREFIX
REDIS_KEY_PREFIX is documented as the namespace for all OmniRoute Redis
keys, and the rate limiter, auth cache and quota store honor it. The
warmup circuit breaker hardcoded `omniroute:warmup:cb:`, so with a custom
prefix on a shared Redis its keys still landed in the default namespace:
outside a key-pattern ACL such as `~tenantA:*`, and shared between
instances that set different prefixes to keep apart. The #11042 review
flagged this client as the one the prefix missed.

Derive the prefix the way redisQuotaStore does. With REDIS_KEY_PREFIX
unset or blank the key is byte-identical to before. The ops doc,
ENVIRONMENT.md and .env.example now list the fourth workload, and the ops
doc notes that a forbidden connection's key is persisted without a TTL,
so it does not age out after a prefix change.
2026-09-11 15:32:58 +07:00
..
2026-07-13 09:12:40 -03:00