Skip to content

v0.2.2: Fixes to limiting algorithm

Compare
Choose a tag to compare
@brandur brandur released this 28 Feb 01:20
· 84 commits to master since this release

Some fundamental fixes to the underlying rate limiting algorithm:

  • #13 Fix bug where limiting was calculated incorrectly for rates faster than 1 second (i.e., N operations per second).
  • #14 Fix bug where the case of a value being expired was not checked in compare_and_swap_with_ttl. This problem also manifested for fast rates smaller than 1 second.