- Login: 5 attempts / 15 min (Symfony login_throttling) - Order create: 10 / 5 min (sliding window) - Invitation respond/register: 5 / 15 min - Contact form: 3 / 10 min - RateLimiterSubscriber with route-to-limiter mapping - Returns 429 when rate limited Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
380 B
YAML
15 lines
380 B
YAML
framework:
|
|
rate_limiter:
|
|
order_create:
|
|
policy: 'sliding_window'
|
|
limit: 10
|
|
interval: '5 minutes'
|
|
invitation_respond:
|
|
policy: 'sliding_window'
|
|
limit: 5
|
|
interval: '15 minutes'
|
|
contact_form:
|
|
policy: 'sliding_window'
|
|
limit: 3
|
|
interval: '10 minutes'
|