Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

[FIX] Add missing SentinelConnectionFactory for Redis Sentinel cache (#1855)

Rahul Johny23cdfb97c262
diff --git a/backend/backend/settings/base.py b/backend/backend/settings/base.py
index 8d0c1fd3a..a06d63df2 100644
--- a/backend/backend/settings/base.py
+++ b/backend/backend/settings/base.py
@@ -478,6 +478,7 @@ if REDIS_SENTINEL_MODE:
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.SentinelClient",
"CONNECTION_POOL_CLASS": "redis.sentinel.SentinelConnectionPool",
+ "CONNECTION_FACTORY": "django_redis.pool.SentinelConnectionFactory",
"SENTINELS": [(REDIS_HOST, int(REDIS_PORT))],
"SENTINEL_KWARGS": _sentinel_kwargs,
"DB": int(_redis_db),