Add Gunicorn config file so we can use server hooks

This commit is contained in:
Danielle McLean 2018-07-05 11:09:35 +10:00
parent a35072bbc3
commit 639e1ec9c6
Signed by untrusted user: 00dani
GPG key ID: 8EB789DDF3ABD240

6
gunicorn.py Normal file
View file

@ -0,0 +1,6 @@
import multiprocessing
preload_app = True
proc_name = 'lemoncurry'
worker_class = 'gevent'
workers = multiprocessing.cpu_count() * 2 + 1