From 05097d58f979992e175d79b71940e575229d20cf Mon Sep 17 00:00:00 2001 From: zyc <1439655764@qq.com> Date: Sat, 4 Apr 2026 14:33:58 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20gunicorn=20=E5=90=AF=E7=94=A8=20gevent?= =?UTF-8?q?=20=E5=BC=82=E6=AD=A5=E6=A8=A1=E5=BC=8F=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E5=8F=91=E4=BB=8E=202=20=E6=8F=90=E5=8D=87=E5=88=B0=20400?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 21287ed..120928e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -29,4 +29,4 @@ RUN chmod +x /app/entrypoint.sh EXPOSE 8000 ENTRYPOINT ["/app/entrypoint.sh"] -CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "2", "--timeout", "120", "--access-logfile", "-", "--error-logfile", "-", "config.wsgi:application"] +CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "2", "--worker-class", "gevent", "--worker-connections", "200", "--timeout", "120", "--access-logfile", "-", "--error-logfile", "-", "config.wsgi:application"]