Restart gunicorn processes more often

This commit is contained in:
Jake Howard 2023-02-21 21:42:41 +00:00
parent d8a8e7fd8e
commit 7d20ccd8d7
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -5,8 +5,8 @@ accesslog = "-"
disable_redirect_access_to_syslog = True disable_redirect_access_to_syslog = True
preload_app = True preload_app = True
bind = "0.0.0.0:8080" bind = "0.0.0.0:8080"
max_requests = 1200 max_requests = 800
max_requests_jitter = 100 max_requests_jitter = 50
forwarded_allow_ips = "*" forwarded_allow_ips = "*"
# Run an additional thread so the GIL isn't sitting completely idle # Run an additional thread so the GIL isn't sitting completely idle