Resolve conflict with Redis

This commit is contained in:
Mark Veidemanis 2025-01-23 11:40:04 +00:00
parent 9ac3ffa540
commit 7a44660fc1
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

View File

@ -196,7 +196,6 @@ CACHES = {
"default": { "default": {
"BACKEND": "django_redis.cache.RedisCache", "BACKEND": "django_redis.cache.RedisCache",
# "LOCATION": "unix:///var/run/socks/redis.sock", # "LOCATION": "unix:///var/run/socks/redis.sock",
"LOCATION": f"redis://{REDIS_HOST}:{REDIS_PORT}",
"LOCATION": "unix:///var/run/redis.sock", "LOCATION": "unix:///var/run/redis.sock",
"OPTIONS": { "OPTIONS": {
"db": REDIS_DB, "db": REDIS_DB,