mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 06:03:15 -04:00
feat: support SQLALCHEMY_POOL_RESET_ON_RETURN config (#31156)
This commit is contained in:
@@ -268,6 +268,8 @@ SQLALCHEMY_POOL_USE_LIFO=false
|
||||
# Number of seconds to wait for a connection from the pool before raising a timeout error.
|
||||
# Default is 30
|
||||
SQLALCHEMY_POOL_TIMEOUT=30
|
||||
# Connection pool reset behavior on return
|
||||
SQLALCHEMY_POOL_RESET_ON_RETURN=rollback
|
||||
|
||||
# Maximum number of connections to the database
|
||||
# Default is 100
|
||||
|
||||
Reference in New Issue
Block a user