faust.web.cache.backends.redis
¶
Redis cache backend.
- class faust.web.cache.backends.redis.RedisScheme(value)[source]¶
Types of Redis configurations.
- SINGLE_NODE = 'redis'¶
- CLUSTER = 'rediscluster'¶
- class faust.web.cache.backends.redis.CacheBackend(app: AppT, url: Union[URL, str], *, connect_timeout: Optional[float] = None, stream_timeout: Optional[float] = None, max_connections: Optional[int] = None, max_connections_per_node: Optional[int] = None, **kwargs: Any)[source]¶
Backend for cache operations using Redis.