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