From 50b3d5471c57837309de6aeffc94d604d0e469c2 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 22 Mar 2021 18:21:58 +0900 Subject: [PATCH] Update the number of workers --- tools/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run.sh b/tools/run.sh index 93aa098c..8c8da596 100755 --- a/tools/run.sh +++ b/tools/run.sh @@ -26,4 +26,4 @@ if [[ -n "${ADMIN_USERNAME}" ]] && [[ -n "${ADMIN_PASSWORD}" ]] && [[ -n "${ADMI fi echo "Starting django" -gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" app.wsgi --timeout 300 +gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-4}" app.wsgi --timeout 300