chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. (#22371)
This commit is contained in:
parent
7388fd1ec6
commit
da53bf511f
4 changed files with 13 additions and 0 deletions
|
|
@ -214,6 +214,10 @@ SQLALCHEMY_POOL_SIZE=30
|
|||
SQLALCHEMY_POOL_RECYCLE=3600
|
||||
# Whether to print SQL, default is false.
|
||||
SQLALCHEMY_ECHO=false
|
||||
# If True, will test connections for liveness upon each checkout
|
||||
SQLALCHEMY_POOL_PRE_PING=false
|
||||
# Whether to enable the Last in first out option or use default FIFO queue if is false
|
||||
SQLALCHEMY_POOL_USE_LIFO=false
|
||||
|
||||
# Maximum number of connections to the database
|
||||
# Default is 100
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue