-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[RateLimiter] Fix cache storage (use namespaced pool + remove \Serializable) #38367
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RateLimiter] Fix cache storage (use namespaced pool + remove \Serializable) #38367
Conversation
wouterj
commented
Oct 1, 2020
| Q | A |
|---|---|
| Branch? | master |
| Bug fix? | yes |
| New feature? | no |
| Deprecations? | no |
| Tickets | Fix #38365, fix #38338 |
| License | MIT |
| Doc PR | - |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
6e26480 to
643840e
Compare
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
4a3eff0 to
64809db
Compare
src/Symfony/Bundle/FrameworkBundle/Resources/config/rate_limiter.php
Outdated
Show resolved
Hide resolved
64809db to
181e6dc
Compare
nicolas-grekas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(with one minor comment)
181e6dc to
027305e
Compare
stof
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we even have a separate cache pool per limiter to avoid cache key conflicts ?
027305e to
251c202
Compare
The cache keys are prefixed by the limiter ID - which is unique for each limiter. So key conflicts should not be possible. |
|
Thank you @wouterj. |