Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #641 from lawtancool/master
Browse files Browse the repository at this point in the history
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
  • Loading branch information
MasterofJOKers authored May 20, 2020
2 parents cc31fc1 + 02698fa commit 1d8b8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gunicorn.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bind = '127.0.0.1:8000'
backlog = 2048
workers = 1
workers = 3
worker_class = 'sync'
worker_connections = 1000
timeout = 20
Expand Down

0 comments on commit 1d8b8ea

Please sign in to comment.