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
b196e20b
Commit
b196e20b
authored
Apr 07, 2017
by
David Ormsbee
Committed by
GitHub
Apr 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3787 from edx/ormsbee/dont_preload_edx_platform
Disable app preload in gunicorn for LMS & Studio.
parents
a1179f28
30b924d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
CHANGELOG.md
+2
-0
playbooks/roles/edxapp/templates/cms_gunicorn.py.j2
+1
-1
playbooks/roles/edxapp/templates/lms_gunicorn.py.j2
+1
-1
No files found.
CHANGELOG.md
View file @
b196e20b
-
Role: edxapp
-
Set preload_app to False in gunicorn config for LMS and Studio.
-
Role: analytics_api
-
Added
`ANALYTICS_API_AGGREGATE_PAGE_SIZE`
, default value 10. Adjust this parameter to increase the number of
aggregate search results returned by the Analytics API, i.e. in course_metadata: enrollment_modes, cohorts, and
...
...
playbooks/roles/edxapp/templates/cms_gunicorn.py.j2
View file @
b196e20b
...
...
@@ -5,7 +5,7 @@ gunicorn configuration file: http://docs.gunicorn.org/en/develop/configure.html
"""
import multiprocessing
preload_app =
Tru
e
preload_app =
Fals
e
timeout = 300
bind = "{{ edxapp_cms_gunicorn_host }}:{{ edxapp_cms_gunicorn_port }}"
pythonpath = "{{ edxapp_code_dir }}"
...
...
playbooks/roles/edxapp/templates/lms_gunicorn.py.j2
View file @
b196e20b
...
...
@@ -5,7 +5,7 @@ gunicorn configuration file: http://docs.gunicorn.org/en/develop/configure.html
"""
import multiprocessing
preload_app =
Tru
e
preload_app =
Fals
e
timeout = 300
bind = "{{ edxapp_lms_gunicorn_host }}:{{ edxapp_lms_gunicorn_port }}"
pythonpath = "{{ edxapp_code_dir }}"
...
...
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