FIX env reference for redis lock
@@ -6,8 +6,8 @@ from anubis.env import env
match env.CACHE_TYPE:
case "RedisCache":
redis = Redis(
- host=env.CACHE_REDIS_HOST,
- password=env.CACHE_REDIS_PASSWORD,
+ host=env.REDIS_HOST,
+ password=env.REDIS_PASS,
)
case _:
redis = None
