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
(cherry picked from commit 179d723747
)
This commit is contained in:
parent
3ae9391e8e
commit
d499715dae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue