Browse Source

Update the number of workers

pull/1273/head
Hironsan 3 years ago
parent
commit
50b3d5471c
1 changed files with 1 additions and 1 deletions
  1. 2
      tools/run.sh

2
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
Loading…
Cancel
Save