Первоначальная версия VidConf
This commit is contained in:
9
backend/core/redis.py
Normal file
9
backend/core/redis.py
Normal file
@@ -0,0 +1,9 @@
|
||||
"""Настройка асинхронного Redis клиента."""
|
||||
|
||||
from redis.asyncio import Redis
|
||||
|
||||
from core.config import get_settings
|
||||
|
||||
settings = get_settings()
|
||||
|
||||
redis_client: Redis = Redis.from_url(settings.redis_url, decode_responses=True)
|
||||
Reference in New Issue
Block a user