fix(runtime): 強化健康檢查監控韌性
All checks were successful
CD Pipeline / deploy (push) Successful in 2m29s

This commit is contained in:
OoO
2026-05-01 14:46:49 +08:00
parent 77b085f813
commit 6bce46bbc7
18 changed files with 130 additions and 19 deletions

View File

@@ -75,6 +75,10 @@ USE_HTTPS=false
# ==========================================
# [預設 4] Web worker 數;正式環境需配合 PostgreSQL pool 上限
WEB_CONCURRENCY=4
# [預設 gthread] Thread worker 讓 /health 不會被 Dashboard 長查詢完全排隊
GUNICORN_WORKER_CLASS=gthread
# [預設 4] 每個 worker 的 threads正式環境需配合 DB pool 與 CPU 上限
GUNICORN_THREADS=4
# [預設 300] 長查詢 / 報表匯出 timeout 秒數
GUNICORN_TIMEOUT=300