chore: 将 Gunicorn workers 默认值从 4 调整为 2

This commit is contained in:
fawney19
2026-02-18 18:36:31 +08:00
parent 34f4cca1d2
commit 11f2ddbba2
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ services:
DATABASE_URL: postgresql://postgres:${DB_PASSWORD}@postgres:5432/aether
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
# Supervisor 需要的变量
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-4}
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-2}
# 容器级别设置
TZ: Asia/Shanghai
depends_on:

View File

@@ -42,7 +42,7 @@ services:
DATABASE_URL: postgresql://postgres:${DB_PASSWORD}@postgres:5432/aether
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
# Supervisor 需要的变量
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-4}
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-2}
# 容器级别设置
TZ: Asia/Shanghai
depends_on: