Skip to content

v1.0.1-rc3

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 14:01
· 52 commits to main since this release
fffb8cb
Rate limiter (#117)

* rework rate limiter

* implements feeding for fixed window limiter

* use arc for options

Since options will be shared between possibly thousands of object
so may be better to just put it in arc

* updates feeding && adds unit tests

* removes writer locking && adds stream.send_error()

* send_err should not fail

* Dispatch

* adds RateLimiter trait

* Improve performance of no-limit

---------

Co-authored-by: Muhamad Azamy <[email protected]>