From 0d8c123d6043c784e6b306cf7494ffe589cbabbe Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sun, 9 Mar 2025 22:22:57 +0800 Subject: [PATCH] add workers --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a7d9019..a87fb1d 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 \ No newline at end of file +exec gunicorn --bind 0.0.0.0:8000 api.asgi:application -k uvicorn.workers.UvicornWorker -w 5 \ No newline at end of file