diff options
-rw-r--r-- | docs/user_guide/compatibility.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/user_guide/compatibility.md b/docs/user_guide/compatibility.md index a2b3fdb..3ecb809 100644 --- a/docs/user_guide/compatibility.md +++ b/docs/user_guide/compatibility.md @@ -85,10 +85,11 @@ _after_ caching, you get the added benefit of not counting cache hits against yo >>> # Limit non-cached requests to 5 requests per second, with unlimited cached requests >>> # Optionally use Redis as both the bucket backend and the cache backend >>> session = CachedLimiterSession( -... rates=RequestRate(5, Duration.SECOND), +... per_second=5, ... bucket_class=RedisBucket, ... backend=RedisCache(), ... ) + ``` ## Internet Archive |