Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle][RateLimiter] compound rate limiter config#60155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

kbond
Copy link
Member

@kbondkbond commentedApr 5, 2025
edited
Loading

QA
Branch?7.3
Bug fix?no
New feature?yes
Deprecations?yes
IssuesFix#59925
LicenseMIT

Follow-up to#59929.

Example:

framework:rate_limiter:two_per_minute:policy:'fixed_window'limit:2interval:'1 minute'five_per_hour:policy:'fixed_window'limit:5interval:'1 hour'lock_factory:nullcontact_form:policy:'compound'limiters:[two_per_minute, five_per_hour]
publicfunctioncontactAction(RateLimiterFactoryInterface$contactFormLimiter){// $contactFormLimiter is a CompoundRateLimiterFactory containing// "two_per_minute" & "five_per_hour"}

OskarStark reacted with rocket emoji
@nicolas-grekasnicolas-grekasforce-pushed therate-limiter/configure-compound branch from815f38a toee2a127CompareApril 8, 2025 07:09
@nicolas-grekas
Copy link
Member

Thank you@kbond.

@nicolas-grekasnicolas-grekas merged commit549126b intosymfony:7.3Apr 8, 2025
7 of 11 checks passed
@fabpotfabpot mentioned this pull requestMay 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
7.3
Development

Successfully merging this pull request may close these issues.

[RateLimiter][FrameworkBundle] Ability to configureCompoundLimiter
3 participants
@kbond@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp