Merge pull request #1162 from SchrodingersGat/gunicorn-conf

Update default gunicorn conf file
This commit is contained in:
Oliver 2020-12-14 11:00:57 +11:00 committed by GitHub
commit 980cb9522b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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