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
8f157133
Commit
8f157133
authored
Oct 15, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1634 from edx/feanil/version_default_cache
Add a default cache version.
parents
712df53e
19aef67c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
CHANGELOG.md
+7
-0
playbooks/roles/edxapp/defaults/main.yml
+10
-4
No files found.
CHANGELOG.md
View file @
8f157133
-
Role: edxapp
-
A new var was added to make it easy ot invalidate the default
memcache store to make it easier to invalidate sessions. Updating
the edxapp env.json files will result in all users getting logged
out. This is a one time penalty as long as the value of
`EDXAPP_DEFAULT_CACHE_VERSION`
is not explicitly changed.
-
Role: nginx
-
New html templates for server errors added.
Defaults for a ratelimiting static page and server error static page.
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
8f157133
...
...
@@ -346,6 +346,7 @@ EDXAPP_CELERY_WORKERS:
service_variant
:
lms
concurrency
:
2
EDXAPP_DEFAULT_CACHE_VERSION
:
"
1"
#-------- Everything below this line is internal to the role ------------
...
...
@@ -515,6 +516,12 @@ edxapp_generic_auth_config: &edxapp_generic_auth
THIRD_PARTY_AUTH
:
$EDXAPP_THIRD_PARTY_AUTH
AWS_STORAGE_BUCKET_NAME
:
"
{{
EDXAPP_AWS_STORAGE_BUCKET_NAME
}}"
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
OAUTH_OIDC_ISSUER
:
"
https://{{
EDXAPP_LMS_BASE
}}/oauth2"
XBLOCK_FS_STORAGE_BUCKET
:
$EDXAPP_XBLOCK_FS_STORAGE_BUCKET
...
...
@@ -559,11 +566,10 @@ generic_env_config: &edxapp_generic_env
# repo root for courses
GITHUB_REPO_ROOT
:
$edxapp_course_data_dir
CACHES
:
default
:
&default_generic_cache
BACKEND
:
'
django.core.cache.backends.memcached.MemcachedCache'
KEY_FUNCTION
:
'
util.memcache.safe_key'
default
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
default'
LOCATION
:
$EDXAPP_MEMCACHE
VERSION
:
"
{{
EDXAPP_DEFAULT_CACHE_VERSION
}}"
general
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
general'
...
...
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