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>
14 lines
384 B
YAML
14 lines
384 B
YAML
# 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'
|