|
|
|
@ -78,7 +78,7 @@ RL_INDEX_BLOCKED_USERS = 'rl:index:blocked_users' |
|
|
|
# API-specific rate limit keys — scope limited to /api/, never written by non-/api/ paths. |
|
|
|
RL_API_IP_REQUESTS = 'rl:api:ns:{ns}:ip:{ip}:reqs' |
|
|
|
RL_API_IP_BLOCKED = 'rl:api:ns:{ns}:ip:{ip}:blocked' |
|
|
|
RL_INDEX_API_BLOCKED_IPS = 'rl:index:api:blocked_ips' |
|
|
|
RL_INDEX_API_BLOCKED_IPS = 'rl:index:api_blocked_ips' |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- |
|
|
|
# API quota keys — per-consumer, per-day/week, tenant-scoped. |
|
|
|
|