Skip to content

`depleted` event, better Redis error

Compare
Choose a tag to compare
@SGrondin SGrondin released this 22 Feb 00:19
· 219 commits to master since this release
  • Added the depleted event. It is triggered when the reservoir reaches 0.
  • Return a friendly error message when a client tries to submit requests to a limiter which is still in the process of connecting to Redis and therefore cannot accept the request yet.