1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
website-2020-spike/website/gunicorn.conf.py
Jake Howard c05efa783b
Add multiple workers and threads
Also move gunicorn config into file
2020-05-03 17:28:02 +01:00

6 lines
119 B
Python

import multiprocessing
bind = "0.0.0.0:8000"
workers = multiprocessing.cpu_count() * 2 + 1
threads = 2
preload = True