Update Redis path to socket
This commit is contained in:
parent
c199d3d078
commit
6ff75890b9
@ -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",
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user