InvenTree/InvenTree/gunicorn.conf.py
Oliver Walters 55b7cd3d6a PEP fix
2020-12-14 10:44:38 +11:00

9 lines
139 B
Python

import multiprocessing
bind = "0.0.0.0:8000"
workers = multiprocessing.cpu_count() * 2 + 1
max_requests = 1000
max_requests_jitter = 50