Update boot.sh
Set default value to 1 if null or unset for gunicorn workers/threads.
This commit is contained in:
parent
b49393357a
commit
39f5fca89b
4
boot.sh
4
boot.sh
@ -2,8 +2,8 @@
|
|||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
||||||
TANDOOR_PORT="${TANDOOR_PORT:-8080}"
|
TANDOOR_PORT="${TANDOOR_PORT:-8080}"
|
||||||
GUNICORN_WORKERS="${GUNICORN_WORKERS}"
|
GUNICORN_WORKERS="${GUNICORN_WORKERS:-1}"
|
||||||
GUNICORN_THREADS="${GUNICORN_THREADS}"
|
GUNICORN_THREADS="${GUNICORN_THREADS:-1}"
|
||||||
NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf
|
NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf
|
||||||
|
|
||||||
display_warning() {
|
display_warning() {
|
||||||
|
Loading…
Reference in New Issue
Block a user