mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Integrate memcached support for some host fields
Conflicts: setup/roles/packages_el/vars/default.yml setup/roles/packages_ubuntu/tasks/main.yml
This commit is contained in:
@@ -223,6 +223,15 @@ EMAIL_HOST_USER = ''
|
||||
EMAIL_HOST_PASSWORD = ''
|
||||
EMAIL_USE_TLS = False
|
||||
|
||||
# Memcached django cache configuration
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||
'LOCATION': '127.0.0.1:11211',
|
||||
'TIMEOUT': 864000,
|
||||
}
|
||||
}
|
||||
|
||||
# Use Django-Debug-Toolbar if installed.
|
||||
try:
|
||||
import debug_toolbar
|
||||
|
||||
Reference in New Issue
Block a user