use gevent

This commit is contained in:
2025-03-09 19:52:45 +08:00
parent 6b672d4611
commit 3bac98d641
3 changed files with 103 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
python manage.py migrate --noinput
exec gunicorn --bind 0.0.0.0:8000 api.asgi:application -k uvicorn.workers.UvicornWorker --workers 5
exec gunicorn --bind 0.0.0.0:8000 api.asgi:application -k gevent --workers 5