feat: socket redis

This commit is contained in:
2024-10-22 08:55:24 +03:00
parent 7daf029a1d
commit 52b3f6e6ee
2 changed files with 2 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ class RedisConnectionManager:
async def get_redis_connection(cls):
async with cls._redis_lock:
if cls._redis_connection is None:
cls._redis_connection = await aioredis.from_url(backend.config.CELERY_BROKER_URL)
cls._redis_connection = await aioredis.from_url(backend.config.REDIS_URL)
return cls._redis_connection