Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Releases: mailgun/gubernator

Release v0.9.1

19 Oct 16:27
Compare
Choose a tag to compare

[0.9.1] - 2020-10-19

Change

  • Fix GUBER_PEER_PICKER_HASH and GUBER_PEER_PICKER
  • Now warns if GUBER_PEER_PICKER value is incorrect
  • Now ignoring spaces between key = value in config file

Release v0.9.0

13 Oct 15:03
7ae5c65
Compare
Choose a tag to compare

[0.9.0] - 2020-10-13

Change

  • Fix GUBER_MEMBERLIST_ADVERTISE_PORT value type
  • Fixed race condition and updated tests for limit change
  • Fix limit change not having effect until reset

Release v0.8.3

11 May 15:46
171909a
Compare
Choose a tag to compare

Fixes race conditions reported by #52 and #51

Release v0.8.2

06 May 18:12
5ccb6b4
Compare
Choose a tag to compare

Enabled k8s AddFunc: on the kubernetes informer so services that don't change get updates.

Release v0.8.0

09 Jan 02:21
61d160d
Compare
Choose a tag to compare

[0.8.0] - 2020-01-04

Added

  • Allow cache users to invalidate a ratelimit after a specific time
  • Changing limit and duration before expire should now work correctly
  • Added Behavior RESET_REMAINING to reset any hits recorded in the cache for the
    specified rate limit

Changes

  • TokenBucketItem is now provided when OnChange() is called instead of RateLimitResp
  • Fixed a bug in global behaviour where it would return an error if the async
    update had not occured before the a second request is made. Now it acts like it
    owns the rate limit until the owning node sends an update
  • Always include reset_time in leaky bucket responses
  • Fixed subtle bug during shutdown where PeerClient passed into goroutine could
    be out of scope/changed when routine runs
  • Behavior is now a flag, this should be a backward compatible change for
    anyone using GLOBAL or NO_BATCHING but will break anyone using
    DURATION_IS_GREGORIAN. Use HasBehavior() function to check for behavior
    flags.

Release v0.7.1

10 Dec 21:11
d34c9d9
Compare
Choose a tag to compare

[0.7.0] - 2019-12-10

Added

  • Added Loader interface for only loading and saving at startup and shutdown
  • Added Store interface for continuous synchronization between the persistent store and the cache.

Changed

  • Moved cache.Cache into the gubernator package
  • Changed the Cache interface to use CacheItem for storing and retrieving cached items.

Release v0.4.1

29 Oct 18:09
b347f24
Compare
Choose a tag to compare

No longer zero remaining rate limits for requests larger than the value of remaining, while still returning OverLimit

Release v0.4.0

19 Jul 16:38
b326bac
Compare
Choose a tag to compare

Added

  • Support for GLOBAL behavior
  • Improved README documentation

Changes

  • GetRateLimits() now fetches rate limits asynchronously

Release 0.3.2

04 Jun 21:25
15558cd
Compare
Choose a tag to compare

[0.3.2] - 2019-06-03

Changes

  • Now properly respecting the maxBatchLimit when talking with peers

Release 0.3.1

03 Jun 18:10
63bb5d8
Compare
Choose a tag to compare