Allow gunicorn workers 5 min. to process requests

Config updates can be time consuming, especially in testing environments
that utilize virt-on-virt.  Rather than timing out workers that are taking
a long time to process an update, bump the timeout to 5 minutes and allow
the requesting orchestrator to time out its request at shorter deadlines
instead.

Change-Id: Ibee73d7a43864da645b5d7198a5df2f2bf936ea9
This commit is contained in:
Adam Gandelman 2016-03-24 16:21:01 -07:00
parent d1e318afdc
commit 179d723747
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import multiprocessing
bind = '[::]:5000'
workers = workers = multiprocessing.cpu_count() * 2 + 1
timeout=60
timeout = 300
backlog = 2048
worker_class ="sync"
debug = False