INNER CODE UNIT · Python

RedisStorage

alisaifee/limits · limits/aio/storage/redis/__init__.py:32

class RedisStorage(Storage, MovingWindowSupport, SlidingWindowCounterSupport):
    """
    Rate limit storage with redis as backend.

    Depends on :pypi:`coredis` or :pypi:`redis`
    """

    STORAGE_SCHEME = [
        "async+redis",
        "async+rediss",
        "async+redis+unix",
        "async+valkey",
        "async+valkeys",
        "async+valkey+unix",
    ]
    """
    The storage schemes for redis to be used in an async context
    """

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…