diff --git a/backend/backend/settings/base.py b/backend/backend/settings/base.py index 8d0c1fd3aa..a06d63df27 100644 --- a/backend/backend/settings/base.py +++ b/backend/backend/settings/base.py @@ -478,6 +478,7 @@ def filter(self, record): "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),