mirror of https://github.com/interlegis/sapl.git
Browse Source
- QUOTA_DAILY_HASH → API_QUOTA_DAILY_HASH
- QUOTA_WEEKLY_HASH → API_QUOTA_WEEKLY_HASH
- Redis key templates: quota:{ns}:... → api_quota:{ns}:...
- Local variables d_hash/w_hash → api_d_hash/api_w_hash in _check_api_quota
- Update test imports and assertions accordingly
Migration: flush old keys with
redis-cli -n 1 --scan --pattern 'quota:*' | xargs -L 100 redis-cli -n 1 DEL
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
rate-limiter-2026
2 changed files with 12 additions and 12 deletions
Loading…
Reference in new issue