pyfedi/gunicorn.conf.py

18 lines
283 B
Python
Raw Normal View History

2024-02-08 08:39:08 +13:00
import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
threads = multiprocessing.cpu_count() * 2 + 1
worker_tmp_dir = '/dev/shm'
2024-06-14 08:08:28 +08:00
bind = '0.0.0.0:5000'
2024-02-08 08:39:08 +13:00
umask = 0o007
reload = False
#logging
accesslog = '-'
errorlog = '-'
max_requests = 500
max_requests_jitter = 50