put default options for memcache timeouts
Change-Id: Icf45393ca11e4941f5c680306db16a731cbd0ac0
diff --git a/horizon/files/horizon_settings/_local_settings.py b/horizon/files/horizon_settings/_local_settings.py
index 00df73e..06108cd 100644
--- a/horizon/files/horizon_settings/_local_settings.py
+++ b/horizon/files/horizon_settings/_local_settings.py
@@ -28,6 +28,12 @@
CACHES = {
'default': {
+
+ 'OPTIONS': {
+ 'DEAD_RETRY': 1,
+ 'SERVER_RETRIES': 1,
+ 'SOCKET_TIMEOUT': 1,
+ },
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
{%- if app.cache.members is defined %}
'LOCATION': "{%- for member in app.cache.members %}{{ member.host }}:{{ member.port }}{% if not loop.last %};{% endif %}{%- endfor %}"