diff --git a/app/settings.py b/app/settings.py index 4878b6e..a41dca2 100644 --- a/app/settings.py +++ b/app/settings.py @@ -179,11 +179,12 @@ CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", # "LOCATION": "unix:///var/run/socks/redis.sock", - "LOCATION": f"redis://{REDIS_HOST}:{REDIS_PORT}", + # "LOCATION": f"redis://{REDIS_HOST}:{REDIS_PORT}", + "LOCATION": "unix:///var/run/neptune-redis.sock", "OPTIONS": { - "db": REDIS_DB_CACHE, + "db": REDIS_DB, # "parser_class": "django_redis.cache.RedisCache", - "PASSWORD": REDIS_PASSWORD, + # "PASSWORD": REDIS_PASSWORD, "pool_class": "redis.BlockingConnectionPool", }, }