This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/RateLimiter/Tests
Fabien Potencier 19a320513a feature #38565 [RateLimiter] Adding SlidingWindow algorithm (Nyholm)
This PR was squashed before being merged into the 5.x branch.

Discussion
----------

[RateLimiter] Adding SlidingWindow algorithm

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | yes
| Deprecations? |
| Tickets       |
| License       | MIT
| Doc PR        | Should be added

This is a draft PR to make sure we like the idea. I'll keep working on adding tests.

Commits
-------

c6d3b70315 [RateLimiter] Adding SlidingWindow algorithm
2020-10-15 08:59:52 +02:00
..
Resources Fix minor issue when sharing windows between Limiters 2020-10-14 18:22:58 +02:00
Storage [RFC] Introduce a RateLimiter component 2020-09-16 15:45:01 +02:00
CompoundLimiterTest.php [RateLimiter] Return Limit object on Consume method 2020-09-30 07:47:20 +02:00
FixedWindowLimiterTest.php Fix minor issue when sharing windows between Limiters 2020-10-14 18:22:58 +02:00
LimiterTest.php [RFC] Introduce a RateLimiter component 2020-09-16 15:45:01 +02:00
LimitTest.php [RateLimiter] add Limit::ensureAccepted() and RateLimitExceededException 2020-10-01 20:04:22 -04:00
SlidingWindowLimiterTest.php [RateLimiter] Adding SlidingWindow algorithm 2020-10-15 08:59:46 +02:00
SlidingWindowTest.php [RateLimiter] Adding SlidingWindow algorithm 2020-10-15 08:59:46 +02:00
TokenBucketLimiterTest.php Fix minor issue when sharing windows between Limiters 2020-10-14 18:22:58 +02:00