lemoncurry/gunicorn.py

7 lines
138 B
Python
Raw Normal View History

import multiprocessing
preload_app = True
proc_name = 'lemoncurry'
worker_class = 'gevent'
workers = multiprocessing.cpu_count() * 2 + 1