adding isolate db location and ingore for django_redis exceptions

This commit is contained in:
Rebeccah 2020-06-04 14:38:06 -04:00
parent b09d9cbe41
commit 669d4535b1
No known key found for this signature in database
GPG Key ID: 40B19D22F2604B29

View File

@ -439,10 +439,11 @@ CELERYBEAT_SCHEDULE = {
}
# Django Caching Configuration
DJANGO_REDIS_IGNORE_EXCEPTIONS = True
CACHES = {
'default': {
'BACKEND': 'django_redis.cache.RedisCache',
'LOCATION': 'unix:/var/run/redis/redis.sock'
'LOCATION': 'unix:/var/run/redis/redis.sock?db=1'
},
}