Browse Source

Update run.sh

fix/herokuDeploy
Hironsan 2 years ago
parent
commit
e2a23b28ad
1 changed files with 1 additions and 1 deletions
  1. 2
      tools/run.sh

2
tools/run.sh

@ -36,7 +36,7 @@ fi
echo "Starting django" echo "Starting django"
# gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-4}" app.wsgi --timeout 300 # gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-4}" app.wsgi --timeout 300
gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" config.wsgi --timeout=300 &
gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" config.wsgi --timeout=300 --capture-output &
gunicorn_pid="$!" gunicorn_pid="$!"
celery --app=config worker --loglevel=INFO --concurrency="${CELERY_WORKERS:-1}" & celery --app=config worker --loglevel=INFO --concurrency="${CELERY_WORKERS:-1}" &

Loading…
Cancel
Save