change gunicorn workers to 3

Assuming a single core system,  (2 x $num_cores) + 1 = 3
(see https://docs.gunicorn.org/en/stable/design.html#how-many-workers)
This commit is contained in:
lawtancool 2020-05-19 09:41:08 -07:00 committed by GitHub
parent d0bac60300
commit 02698fab43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
bind = '127.0.0.1:8000'
backlog = 2048
workers = 4
workers = 3
worker_class = 'sync'
worker_connections = 1000
timeout = 20