Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
00328bdd
Commit
00328bdd
authored
8 years ago
by
Diana Huang
Committed by
Feanil Patel
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate keys for caches.
parent
385172bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
playbooks/roles/edxapp/defaults/main.yml
+6
-2
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
00328bdd
...
...
@@ -802,8 +802,6 @@ edxapp_generic_auth_config: &edxapp_generic_auth
generic_cache_config
:
&default_generic_cache
BACKEND
:
'
django.core.cache.backends.memcached.MemcachedCache'
KEY_FUNCTION
:
'
util.memcache.safe_key'
KEY_PREFIX
:
'
default'
LOCATION
:
"
{{
EDXAPP_MEMCACHE
}}"
generic_env_config
:
&edxapp_generic_env
ECOMMERCE_PUBLIC_URL_ROOT
:
"
{{
EDXAPP_ECOMMERCE_PUBLIC_URL_ROOT
}}"
...
...
@@ -888,23 +886,29 @@ generic_env_config: &edxapp_generic_env
default
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
default'
LOCATION
:
"
{{
EDXAPP_MEMCACHE
}}"
VERSION
:
"
{{
EDXAPP_DEFAULT_CACHE_VERSION
}}"
general
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
general'
LOCATION
:
"
{{
EDXAPP_MEMCACHE
}}"
mongo_metadata_inheritance
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
mongo_metadata_inheritance'
TIMEOUT
:
300
LOCATION
:
"
{{
EDXAPP_MEMCACHE
}}"
staticfiles
:
<<
:
*default_generic_cache
KEY_PREFIX
:
"
{{
ansible_hostname|default('staticfiles')
}}_general"
LOCATION
:
"
{{
EDXAPP_MEMCACHE
}}"
configuration
:
<<
:
*default_generic_cache
KEY_PREFIX
:
"
{{
ansible_hostname|default('configuration')
}}"
LOCATION
:
"
{{
EDXAPP_MEMCACHE
}}"
celery
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
celery'
LOCATION
:
"
{{
EDXAPP_MEMCACHE
}}"
TIMEOUT
:
"
7200"
course_structure_cache
:
<<
:
*default_generic_cache
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment