ulule / limiter

Dead simple rate limit middleware for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider support long time connection rate limit (Websocket)

carlyjiang opened this issue · comments

  • Limiter supports short time request, which has limitation to support long time connections like websocket.
  • Can we introduce decrement operation in store, so that once long time connection disconnect, it will release capacity for new incoming request.
commented

Hi, we don't provide additional features than what we need internally, so if you want a particular driver go send a PR, we will review it.