feat: make setup migration timeout configurable

This commit is contained in:
weiness
2026-07-03 10:29:33 +08:00
parent 0b8e5eec32
commit 36d5f4e4ca
7 changed files with 58 additions and 8 deletions
+7
View File
@@ -196,6 +196,13 @@ JWT_EXPIRE_HOUR=24
# - =0: 回退使用 JWT_EXPIRE_HOUR
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=0
# -----------------------------------------------------------------------------
# Setup Configuration
# -----------------------------------------------------------------------------
# Database migration timeout during initial setup, in seconds.
# Leave 0 to use the built-in default of 60 seconds.
SETUP_MIGRATION_TIMEOUT_SECONDS=0
# -----------------------------------------------------------------------------
# TOTP (2FA) Configuration
# TOTP(双因素认证)配置