Releases: MyOnlineStore/php-ratelimiter
Releases · MyOnlineStore/php-ratelimiter
Merged upstream code improvements
Additional throttling algorithms
- Added FixedWindow, MovingWindow and RetrialQueue throttlers
- Added php 7 ci builds
BC breaks:
BucketThrottlerFactory
=>TimeAwareThrottlerFactory
CacheThrottler
=>ElasticWindowThrottler
LeakyBucket fixes: microseconds for usleep, multi source support
v1.4.1-rc Usleep needs microseconds instead of milliseconds. Moved setting toke…
Fixed inconsistencies in (milli)seconds in LeakyBucketThrottler
Merge pull request #4 from MyOnlineStore/MWW-4056 Fixes inconsistencies in (milli)seconds in LeakyBucketThrottler.
Leaky Bucket throttler
Added a leaky bucket throttler implementation
Memcache settings
- Fixed usage of memcache config
- Updated with upstream changes
CacheAdapter Injection
- Config has been moved to the cacheAdapterFactory, and a CacheAdapterInterface should be given in the RateLimiter. This way, a different adapter than the DesarollaCacheAdapter can be used.
- Desarrolla package has been updated to ~v2.0
- Config parameters for mysql and memcache adapters will now be used
MyOnlineStore specific v1.0
Increased extensibility * (Re)add hydrator factory * Inject factories as dependancies * Allow throttler specific ttl & limit * Expose throttler ttl & limit