Forked from redis-rolling-limit
- Added flow types
- Rewrote README
- Remove util.promisify polyfill as ioredis supports promises natively
- If you're still using
node-redis
,util.promisify
will be required and you must upgrade to Node >= 8.
- If you're still using
- Remove unused dependencies
- Add node-redis test
- Fix depletion on clock skew
- If one server's clock was significantly ahead of another, we could end up subtracting tokens when we meant to add them.
- Use hash tags in keys for compatibility with Redis Cluster
- Internal re-implementation using Promises
- Re-implementation as token bucket limiter