Commit b196e20b by David Ormsbee Committed by GitHub

Merge pull request #3787 from edx/ormsbee/dont_preload_edx_platform

Disable app preload in gunicorn for LMS & Studio.
parents a1179f28 30b924d5
- 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
......
......@@ -5,7 +5,7 @@ gunicorn configuration file: http://docs.gunicorn.org/en/develop/configure.html
"""
import multiprocessing
preload_app = True
preload_app = False
timeout = 300
bind = "{{ edxapp_cms_gunicorn_host }}:{{ edxapp_cms_gunicorn_port }}"
pythonpath = "{{ edxapp_code_dir }}"
......
......@@ -5,7 +5,7 @@ gunicorn configuration file: http://docs.gunicorn.org/en/develop/configure.html
"""
import multiprocessing
preload_app = True
preload_app = False
timeout = 300
bind = "{{ edxapp_lms_gunicorn_host }}:{{ edxapp_lms_gunicorn_port }}"
pythonpath = "{{ edxapp_code_dir }}"
......
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