Integrate memcached into setup playbook

This commit is contained in:
Matthew Jones
2016-09-01 11:41:20 -04:00
parent f0b7622672
commit f3b7fe18ce
2 changed files with 3 additions and 18 deletions

View File

@@ -48,21 +48,6 @@ if is_testing(sys.argv):
MONGO_DB = 'system_tracking_test'
# Django Caching Configuration
if is_testing():
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
},
}
else:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'memcached:11211',
},
}
# Celery AMQP configuration.
BROKER_URL = 'amqp://guest:guest@rabbitmq//'