Functionality of this repository was replaced by limits in this commit.
Forked version of https://github.com/romantomjak/django-redis-ratelimit with resilience to Redis connection errors, so that Redis is not in the critical path of your endpoints.
Run all tests:
docker-compose run test
Run an individual test:
docker-compose run test tests.tests.RateLimitTests
See instructions at https://github.com/romantomjak/django-redis-ratelimit
REDIS_RATELIMIT_DB_URL: Redis URL (defaults toredis://localhost:6379/0)REDIS_RATELIMIT_DB_TIMEOUT: Timeout to connect and run commands in seconds (defaults to0.1)