diff --git a/templates/nova.conf b/templates/nova.conf index 85b747d5c..c42967ab8 100644 --- a/templates/nova.conf +++ b/templates/nova.conf @@ -172,8 +172,12 @@ enabled = True # on contoler we prefer to use memcache when its deployed {{if .MemcachedTLS}} backend = dogpile.cache.pymemcache +enable_retry_client = true +retry_attempts = 2 +retry_delay = 0 {{else}} backend = dogpile.cache.memcached +memcache_dead_retry = 10 {{end}} memcache_servers={{ .MemcachedServers }} tls_enabled={{ .MemcachedTLS }}