website/etc/gunicorn.conf.py

11 lines
274 B
Python
Raw Normal View History

wsgi_app = "website.wsgi:application"
disable_redirect_access_to_syslog = True
preload_app = True
bind = "127.0.0.1:8080"
max_requests = 1200
2023-02-21 21:42:41 +00:00
max_requests_jitter = 50
forwarded_allow_ips = "*"
# Run an additional thread so the GIL isn't sitting completely idle
threads = 2