From 7ad09ed2fd438c03602279ef99eb35e26fafbe57 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Mon, 10 Mar 2025 15:43:41 +0800 Subject: [PATCH] use wsgi --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a87fb1d..48855c8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 -w 5 \ No newline at end of file +exec gunicorn --bind 0.0.0.0:8000 api.wsgi:application -w 4 \ No newline at end of file