From 39f5fca89bad27ff0bbb242cfd535491ab9b45dc Mon Sep 17 00:00:00 2001 From: Szeraax <6242511+Szeraax@users.noreply.github.com> Date: Wed, 21 Sep 2022 11:06:55 -0600 Subject: [PATCH] Update boot.sh Set default value to 1 if null or unset for gunicorn workers/threads. --- boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.sh b/boot.sh index be117d7a..6acf7e26 100644 --- a/boot.sh +++ b/boot.sh @@ -2,8 +2,8 @@ source venv/bin/activate TANDOOR_PORT="${TANDOOR_PORT:-8080}" -GUNICORN_WORKERS="${GUNICORN_WORKERS}" -GUNICORN_THREADS="${GUNICORN_THREADS}" +GUNICORN_WORKERS="${GUNICORN_WORKERS:-1}" +GUNICORN_THREADS="${GUNICORN_THREADS:-1}" NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf display_warning() {