Skip to content

Commit

Permalink
configuring gunicorn worker timeout to threee minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh4kE committed Jan 15, 2017
1 parent 285e73c commit 0db1dd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gunicorn_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
bind = '0.0.0.0:8000'
reload = True

workers = 2 * cpu_count() + 1
worker_class = 'eventlet'
workers = 2 * cpu_count() + 1
threads = 2 * cpu_count()
timeout = 180

0 comments on commit 0db1dd9

Please sign in to comment.