
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
13 lines
309 B
Django/Jinja
13 lines
309 B
Django/Jinja
import multiprocessing
|
|
|
|
bind = '[::]:5000'
|
|
workers = workers = multiprocessing.cpu_count() * 2 + 1
|
|
timeout = 300
|
|
backlog = 2048
|
|
worker_class ="sync"
|
|
debug = False
|
|
daemon = True
|
|
pidfile = "/var/run/gunicorn.pid"
|
|
errorlog = "/var/log/astara/gunicorn_error.log"
|
|
accesslog = "/var/log/astara/gunicorn_access.log"
|