calendar-social/ansible/roles/gunicorn/templates/gunicorn.conf.j2

10 lines
253 B
Plaintext
Raw Permalink Normal View History

2018-06-27 08:17:56 +00:00
import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
proc_name = 'gunicorn'
bind = '127.0.0.1:8000'
errorlog = '/var/log/gunicorn/gunicorn-error.log'
accesslog = '/var/log/gunicorn/gunicorn-access.log'
loglevel = 'warning'
timeout = 60