Commit 6d244f01 by Fred Smith

Merge pull request #2747 from edx/derf/discovery_gunicorn_sync_workers

discovery play fixes
parents 493afb5b 2118aaf2
......@@ -72,7 +72,8 @@ DISCOVERY_SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
DISCOVERY_PLATFORM_NAME: 'Your Platform Name Here'
DISCOVERY_ECOMMERCE_API_URL: 'https://replace-me/'
DISCOVERY_ECOMMERCE_API_URL: 'https://localhost:8002/api/v2/'
DISCOVERY_COURSES_API_URL: 'https://localhost:8000/api/courses/v1/'
DISCOVERY_SERVICE_CONFIG:
SECRET_KEY: '{{ DISCOVERY_SECRET_KEY }}'
......@@ -96,6 +97,7 @@ DISCOVERY_SERVICE_CONFIG:
PLATFORM_NAME: '{{ DISCOVERY_PLATFORM_NAME }}'
ECOMMERCE_API_URL: '{{ DISCOVERY_ECOMMERCE_API_URL }}'
COURSES_API_URL: '{{ DISCOVERY_COURSES_API_URL }}'
DISCOVERY_REPOS:
......@@ -111,7 +113,7 @@ DISCOVERY_REPOS:
DISCOVERY_GUNICORN_WORKERS: "2"
DISCOVERY_GUNICORN_EXTRA: ""
DISCOVERY_GUNICORN_EXTRA_CONF: ""
DISCOVERY_GUNICORN_WORKER_CLASS: "gevent"
DISCOVERY_GUNICORN_WORKER_CLASS: "sync"
DISCOVERY_HOSTNAME: '~^((stage|prod)-)?discovery.*'
......
......@@ -15,4 +15,4 @@ export NEW_RELIC_LICENSE_KEY="{{ NEWRELIC_LICENSE_KEY }}"
{% endif -%}
source {{ discovery_home }}/discovery_env
{{ executable }} -c {{ discovery_home }}/discovery_gunicorn.py {{ DISCOVERY_GUNICORN_EXTRA }} discovery.wsgi:application
{{ executable }} -c {{ discovery_home }}/discovery_gunicorn.py {{ DISCOVERY_GUNICORN_EXTRA }} course_discovery.wsgi:application
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