Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gunicorn config #136

Merged
merged 2 commits into from
Mar 17, 2021
Merged

Gunicorn config #136

merged 2 commits into from
Mar 17, 2021

Conversation

cehbrecht
Copy link
Member

This PR makes gunicorn workers configurable:

https://docs.gunicorn.org/en/stable/settings.html

gunicorn_workers: 5  # rule of thumb: 2 * CPUs + 1
gunicorn_worker_class: 'sync'  # or "gevent", needs gevent

sync is default. One can also choose gevent. gevent is installed in the conda environment.

@cehbrecht cehbrecht self-assigned this Mar 17, 2021
@cehbrecht cehbrecht merged commit 002b8e8 into master Mar 17, 2021
@cehbrecht cehbrecht deleted the gunicorn-config branch March 17, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant