Merge pull request #641 from lawtancool/master

Increase gunicorn workers from 1 to 3

Having only 1 gunicorn worker results in extremely slow web UI load speed, raising it to 4 should improve performance significantly without overwhelming low end server environments.

See https://docs.gunicorn.org/en/stable/design.html#how-many-workers for more details
This commit is contained in:
JOKer 2020-05-20 09:07:07 +02:00 committed by GitHub
commit 1d8b8ea44f
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 = 1
workers = 3
worker_class = 'sync'
worker_connections = 1000
timeout = 20