-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Labels
FeatureFrameworkBundleGood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)RateLimiter
Description
Description
Under framework.rate_limiter.limiters
, add the ability to configure a CompoundLimiter
.
Example
framework:
rate_limiter:
two_per_minute:
policy: 'fixed_window'
limit: 2
interval: '1 minute'
five_per_hour:
policy: 'fixed_window'
limit: 5
interval: '1 hour'
lock_factory: null
contact_form:
policy: 'compound'
limiters: [two_per_minute, five_per_hour]
yceruto and neluba
Metadata
Metadata
Assignees
Labels
FeatureFrameworkBundleGood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)RateLimiter