Skip to content

Commit

Permalink
Merge pull request #479 from lmiccini/memcached-failover
Browse files Browse the repository at this point in the history
Configure dogpile.cache to deal with memcached pods failures
  • Loading branch information
openshift-merge-bot[bot] authored Nov 29, 2024
2 parents 7447f7d + f5a67ab commit 82f023a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/heat/config/00-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ transport_url={{ .TransportURL }}
[cache]
{{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}}
enabled=true
memcache_servers={{ .MemcachedServers }}
Expand Down

0 comments on commit 82f023a

Please sign in to comment.