Run an additional thread so the GIL isn't sitting completely idle
This commit is contained in:
parent
b95506d711
commit
fb453a3277
1 changed files with 3 additions and 0 deletions
|
@ -8,5 +8,8 @@ bind = "0.0.0.0"
|
|||
max_requests = 1200
|
||||
max_requests_jitter = 100
|
||||
|
||||
# Run an additional thread so the GIL isn't sitting completely idle
|
||||
threads = 2
|
||||
|
||||
# Replace gunicorn's 'Server' HTTP header
|
||||
gunicorn.SERVER_SOFTWARE = gunicorn.SERVER = "Wouldn't you like to know"
|
||||
|
|
Loading…
Reference in a new issue