From f2c626983224b59d259a6c21bfe8d9d80300620d Mon Sep 17 00:00:00 2001 From: sophie <16087569+sophie_liang@user.noreply.gitee.com> Date: Mon, 18 May 2026 14:15:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Gunicorn=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 3 +++ .env.prod | 2 ++ .env.test | 2 ++ 3 files changed, 7 insertions(+) diff --git a/.env.dev b/.env.dev index f3fcc4ab..a1a31558 100644 --- a/.env.dev +++ b/.env.dev @@ -30,3 +30,6 @@ CASDOOR_REDIRECT_URI=http://localhost:8881/casdoor-callback CASDOOR_SCOPE=openid profile email # Casdoor Providers → wecom(Name=wecom,与 prod 共用同一 Provider 即可) CASDOOR_WECOM_PROVIDER_HINT=wecom + +# Gunicorn配置 +GUNICORN_WORKERS=2 \ No newline at end of file diff --git a/.env.prod b/.env.prod index 73dcbb01..4728f383 100644 --- a/.env.prod +++ b/.env.prod @@ -31,3 +31,5 @@ CASDOOR_SCOPE=openid profile email # Casdoor Providers → wecom:Name 字段(截图即为 wecom);Organization=organization_HX,Sub type=Internal,Scope=snsapi_userinfo CASDOOR_WECOM_PROVIDER_HINT=wecom +# Gunicorn配置 +GUNICORN_WORKERS=2 \ No newline at end of file diff --git a/.env.test b/.env.test index a6c72df2..a216b431 100644 --- a/.env.test +++ b/.env.test @@ -30,3 +30,5 @@ CASDOOR_SCOPE=openid profile email # Casdoor Providers → wecom:Name 字段(截图即为 wecom);Organization=organization_HX,Sub type=Internal,Scope=snsapi_userinfo CASDOOR_WECOM_PROVIDER_HINT=wecom +# Gunicorn配置 +GUNICORN_WORKERS=2 \ No newline at end of file