feat: support SQLALCHEMY_POOL_RESET_ON_RETURN config (#31156)

This commit is contained in:
wangxiaolei
2026-05-08 20:25:46 +08:00
committed by GitHub
parent cb0356e9d7
commit 8132c444dc
5 changed files with 13 additions and 3 deletions

View File

@@ -98,6 +98,8 @@ DB_DATABASE=dify
SQLALCHEMY_POOL_PRE_PING=true
SQLALCHEMY_POOL_TIMEOUT=30
# Connection pool reset behavior on return
SQLALCHEMY_POOL_RESET_ON_RETURN=rollback
# Storage configuration
# use for store upload files, private keys...