forked from 00dani/lemoncurry
Add Gunicorn config file so we can use server hooks
This commit is contained in:
parent
a35072bbc3
commit
639e1ec9c6
1 changed files with 6 additions and 0 deletions
6
gunicorn.py
Normal file
6
gunicorn.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
import multiprocessing
|
||||
|
||||
preload_app = True
|
||||
proc_name = 'lemoncurry'
|
||||
worker_class = 'gevent'
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
Loading…
Reference in a new issue