mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-21 22:34:21 +00:00
🔧 Use WSGI with 4 workers instead of ASGI
This commit is contained in:
parent
4111d56c06
commit
3a883500cf
1 changed files with 1 additions and 1 deletions
|
@ -3,4 +3,4 @@
|
|||
poetry run python -O ./manage.py migrate --no-input
|
||||
poetry run python -O ./manage.py collectstatic --no-input
|
||||
poetry run python -O ./manage.py initsuperuser
|
||||
poetry run python -O -m gunicorn sophon.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000
|
||||
poetry run python -O -m gunicorn sophon.wsgi:application --workers=4 --bind=0.0.0.0:8000
|
||||
|
|
Loading…
Reference in a new issue