Restart workers after a given number of requests

This commit is contained in:
Jake Howard 2022-08-30 21:38:12 +01:00
parent ca835a33b4
commit da89510eee
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -5,6 +5,8 @@ accesslog = "-"
disable_redirect_access_to_syslog = True
preload_app = True
bind = "0.0.0.0"
max_requests = 1200
max_requests_jitter = 100
# Replace gunicorn's 'Server' HTTP header
gunicorn.SERVER_SOFTWARE = gunicorn.SERVER = "Wouldn't you like to know"