This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
Releases: mailgun/gubernator
Releases · mailgun/gubernator
Release v0.9.1
[0.9.1] - 2020-10-19
Change
- Fix
GUBER_PEER_PICKER_HASH
andGUBER_PEER_PICKER
- Now warns if
GUBER_PEER_PICKER
value is incorrect - Now ignoring spaces between
key = value
in config file
Release v0.9.0
[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
Release v0.8.2
Enabled k8s AddFunc:
on the kubernetes informer so services that don't change get updates.
Release v0.8.0
[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 whenOnChange()
is called instead ofRateLimitResp
- 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 usingGLOBAL
orNO_BATCHING
but will break anyone using
DURATION_IS_GREGORIAN
. UseHasBehavior()
function to check for behavior
flags.
Release v0.7.1
[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 thegubernator
package - Changed the
Cache
interface to useCacheItem
for storing and retrieving cached items.
Release v0.4.1
No longer zero remaining rate limits for requests larger than the value of remaining, while still returning OverLimit
Release v0.4.0
Added
- Support for GLOBAL behavior
- Improved README documentation
Changes
- GetRateLimits() now fetches rate limits asynchronously
Release 0.3.2
[0.3.2] - 2019-06-03
Changes
- Now properly respecting the maxBatchLimit when talking with peers
Release 0.3.1
See #10