chore(dev): relax rate limits for local testing
Add config/packages/dev/rate_limiter.yaml raising send_code and login limits to 1000 in the dev environment only, so repeated OTP testing isn't blocked by 'درخواستهای زیاد'. Production limits in config/packages/rate_limiter.yaml (5/hour, 10/min) are untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Dev-only overrides: relaxed limits so local testing isn't blocked.
|
||||
# Production limits live in config/packages/rate_limiter.yaml.
|
||||
framework:
|
||||
rate_limiter:
|
||||
send_code:
|
||||
policy: 'sliding_window'
|
||||
limit: 1000
|
||||
interval: '60 minutes'
|
||||
|
||||
login:
|
||||
policy: 'fixed_window'
|
||||
limit: 1000
|
||||
interval: '1 minute'
|
||||
Reference in New Issue
Block a user