Bump gunicorn worker timeout to 60

The default 30s worker timeout for gunicorn is not sufficient for
some slower environments, as the metadata service takes a while to
restart.  This bumps it to 60s to ensure we dont fail config updates
on worker timeouts.

Change-Id: If27329b58d97e6aef687a069615dbda763dba8c1
Closes-bug: #1462100
This commit is contained in:
Adam Gandelman 2015-06-04 14:15:21 -07:00
parent aa72fd46b5
commit a12136b203

View File

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