Commit b0d4d84c by Feanil Patel

Add a key prefix to the config model.

Add a prefix from the hostname.  If building images, this will be the hostname
of the machine that the image is based on.  If running in a rolling fashion,
this will give each machine its own cache.
parent 88a7fca7
......@@ -807,6 +807,9 @@ generic_env_config: &edxapp_generic_env
staticfiles:
<<: *default_generic_cache
KEY_PREFIX: "{{ ansible_hostname|default('staticfiles') }}_general"
configuration:
<<: *default_generic_cache
KEY_PREFIX: "{{ ansible_hostname|default('configuration') }}"
celery:
<<: *default_generic_cache
KEY_PREFIX: 'celery'
......
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