From 36f24684190f13d29694ee5a5f7e9d7cbe282679 Mon Sep 17 00:00:00 2001 From: sophie <16087569+sophie_liang@user.noreply.gitee.com> Date: Tue, 19 May 2026 09:28:29 +0800 Subject: [PATCH] enlarge the num of gunicorn worker --- .env.dev | 2 +- .env.prod | 2 +- .env.test | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.dev b/.env.dev index a1a31558..94865bc9 100644 --- a/.env.dev +++ b/.env.dev @@ -32,4 +32,4 @@ CASDOOR_SCOPE=openid profile email CASDOOR_WECOM_PROVIDER_HINT=wecom # Gunicorn配置 -GUNICORN_WORKERS=2 \ No newline at end of file +GUNICORN_WORKERS=10 \ No newline at end of file diff --git a/.env.prod b/.env.prod index 4728f383..a3f09a9b 100644 --- a/.env.prod +++ b/.env.prod @@ -32,4 +32,4 @@ CASDOOR_SCOPE=openid profile email CASDOOR_WECOM_PROVIDER_HINT=wecom # Gunicorn配置 -GUNICORN_WORKERS=2 \ No newline at end of file +GUNICORN_WORKERS=20 \ No newline at end of file diff --git a/.env.test b/.env.test index a216b431..7d2c4b39 100644 --- a/.env.test +++ b/.env.test @@ -31,4 +31,4 @@ CASDOOR_SCOPE=openid profile email CASDOOR_WECOM_PROVIDER_HINT=wecom # Gunicorn配置 -GUNICORN_WORKERS=2 \ No newline at end of file +GUNICORN_WORKERS=6 \ No newline at end of file