From 179d7237476803b56cd380ea8b5e12ae3b6a5aba Mon Sep 17 00:00:00 2001 From: Adam Gandelman Date: Thu, 24 Mar 2016 16:21:01 -0700 Subject: [PATCH] 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 --- ansible/templates/gunicorn.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/templates/gunicorn.j2 b/ansible/templates/gunicorn.j2 index 861965d..ac18db4 100644 --- a/ansible/templates/gunicorn.j2 +++ b/ansible/templates/gunicorn.j2 @@ -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