pyfedi/gunicorn.conf.py
2024-02-08 08:39:08 +13:00

17 lines
285 B
Python

import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
threads = multiprocessing.cpu_count() * 2 + 1
worker_tmp_dir = '/dev/shm'
bind = '127.0.0.1:5000'
umask = 0o007
reload = False
#logging
accesslog = '-'
errorlog = '-'
max_requests = 500
max_requests_jitter = 50