lemoncurry/gunicorn.py

5 lines
119 B
Python

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