Merge pull request #7240 from rebeccahhh/memcache-memories

remove memcache entirely, add in some django redis to cover it's absence

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-06-09 15:37:04 +00:00
committed by GitHub
15 changed files with 32 additions and 647 deletions

View File

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