From 1d1b8a7bf962849bc6996d25d25957db68fd0204 Mon Sep 17 00:00:00 2001 From: Mark Burnett Date: Wed, 13 Dec 2017 11:40:02 -0600 Subject: [PATCH] Test: extend uwsgi timeout to facilitate testing Change-Id: Icd19235e3be8855c2337a752d9e42fcfaada2a33 --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 82402ad8..9650099e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,11 +2,13 @@ set -ex PORT=${PORT:-9000} +UWSGI_TIMEOUT=${UWSGI_TIMEOUT:-300} if [ "$1" = 'server' ]; then exec uwsgi \ --http :${PORT} \ - -z 300 \ + --http-timeout ${UWSGI_TIMEOUT} \ + -z ${UWSGI_TIMEOUT} \ --paste config:/etc/promenade/api-paste.ini \ --enable-threads -L \ --workers 4