|
|
|
|
|
|
|
|
# The size of the database connection pool. |
|
|
# The size of the database connection pool. |
|
|
# The default is 30 connections, which can be appropriately increased. |
|
|
# The default is 30 connections, which can be appropriately increased. |
|
|
SQLALCHEMY_POOL_SIZE=30 |
|
|
SQLALCHEMY_POOL_SIZE=30 |
|
|
|
|
|
# The default is 10 connections, which allows temporary overflow beyond the pool size. |
|
|
|
|
|
SQLALCHEMY_MAX_OVERFLOW=10 |
|
|
# Database connection pool recycling time, the default is 3600 seconds. |
|
|
# Database connection pool recycling time, the default is 3600 seconds. |
|
|
SQLALCHEMY_POOL_RECYCLE=3600 |
|
|
SQLALCHEMY_POOL_RECYCLE=3600 |
|
|
# Whether to print SQL, default is false. |
|
|
# Whether to print SQL, default is false. |