Skip to content

Releases: MyOnlineStore/php-ratelimiter

Merged upstream code improvements

17 Jan 15:55
Compare
Choose a tag to compare
v2.0.1-rc

Merge remote-tracking branch 'upstream/master'

Additional throttling algorithms

21 Dec 08:29
Compare
Choose a tag to compare
  • 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

14 Dec 10:31
Compare
Choose a tag to compare
v1.4.1-rc

Usleep needs microseconds instead of milliseconds. Moved setting toke…

Fixed inconsistencies in (milli)seconds in LeakyBucketThrottler

08 Nov 15:58
Compare
Choose a tag to compare
Merge pull request #4 from MyOnlineStore/MWW-4056

Fixes inconsistencies in (milli)seconds in LeakyBucketThrottler.

Leaky Bucket throttler

01 Sep 14:29
Compare
Choose a tag to compare

Added a leaky bucket throttler implementation

Memcache settings

20 Jul 12:06
Compare
Choose a tag to compare
  • Fixed usage of memcache config
  • Updated with upstream changes

CacheAdapter Injection

20 Jun 12:49
Compare
Choose a tag to compare
  • 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

31 May 09:14
Compare
Choose a tag to compare
Increased extensibility

* (Re)add hydrator factory
* Inject factories as dependancies
* Allow throttler specific ttl & limit
* Expose throttler ttl & limit