Commit bfbbdb0c by Clinton Blackburn

Merge pull request #3018 from edx/clintonb/ida-cache-prefix

Correcting cache key prefix for discovery service and IDA template
parents ebf51f05 5d847aab
......@@ -36,7 +36,7 @@
{{ role_name|upper }}_CACHES:
default:
BACKEND: 'django.core.cache.backends.memcached.MemcachedCache'
KEY_PREFIX: 'default'
KEY_PREFIX: '{{ '{{' }} {{ role_name }}_service_name }}'
LOCATION: '{{ '{{' }} {{ role_name|upper}}_MEMCACHE }}'
{{ role_name|upper }}_VERSION: "master"
......
......@@ -48,7 +48,7 @@ DISCOVERY_MEMCACHE: [ 'memcache' ]
DISCOVERY_CACHES:
default:
BACKEND: 'django.core.cache.backends.memcached.MemcachedCache'
KEY_PREFIX: 'default'
KEY_PREFIX: '{{ discovery_service_name }}'
LOCATION: '{{ DISCOVERY_MEMCACHE }}'
DISCOVERY_VERSION: "master"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment