This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user