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

[RateLimiter] AddCompoundRateLimiterFactory#59929

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
fabpot merged 1 commit intosymfony:7.3fromkbond:rate-limiter-compound-factory
Mar 21, 2025

Conversation

kbond
Copy link
Member

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

First step for#59925.

Copy link
Contributor

@mtarldmtarld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

With minor suggestion 🙂

@kbondkbondforce-pushed therate-limiter-compound-factory branch from9dac513 toaae5b46CompareMarch 12, 2025 17:05
@OskarStarkOskarStark changed the title[RateLimiter] addCompoundRateLimiterFactory[RateLimiter] AddCompoundRateLimiterFactoryMar 13, 2025
@fabpot
Copy link
Member

Thank you@kbond.

@fabpotfabpot merged commit3fd7ea8 intosymfony:7.3Mar 21, 2025
10 of 11 checks passed
nicolas-grekas added a commit that referenced this pull requestApr 8, 2025
…onfig (kbond)This PR was squashed before being merged into the 7.3 branch.Discussion----------[FrameworkBundle][RateLimiter] compound rate limiter config| Q             | A| ------------- | ---| Branch?       | 7.3| Bug fix?      | no| New feature?  | yes| Deprecations? | yes| Issues        |Fix#59925| License       | MITFollow-up to#59929.Example:```yamlframework:    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]``````phppublic function contactAction(RateLimiterFactoryInterface $contactFormLimiter){    // $contactFormLimiter is a CompoundRateLimiterFactory containing    // "two_per_minute" & "five_per_hour"}```Commits-------ee2a127 [FrameworkBundle][RateLimiter] compound rate limiter config
@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

@fabpotfabpotfabpot approved these changes

@ycerutoycerutoyceruto approved these changes

@mtarldmtarldmtarld approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
7.3
Development

Successfully merging this pull request may close these issues.

5 participants
@kbond@fabpot@yceruto@mtarld@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp