提交 8f2f1e4d 编写于 作者: X Xu Peng

feat(env): add SQLALCHEMY_POOL_SIZE in env

上级 0b73fd3e
...@@ -7,6 +7,7 @@ DEBUG = env.bool('DEBUG', default=False) ...@@ -7,6 +7,7 @@ DEBUG = env.bool('DEBUG', default=False)
SQLALCHEMY_TRACK_MODIFICATIONS = env.bool('DEBUG', default=False) SQLALCHEMY_TRACK_MODIFICATIONS = env.bool('DEBUG', default=False)
SECRET_KEY = env.str('SECRET_KEY', 'test') SECRET_KEY = env.str('SECRET_KEY', 'test')
SQLALCHEMY_DATABASE_URI = env.str('SQLALCHEMY_DATABASE_URI') SQLALCHEMY_DATABASE_URI = env.str('SQLALCHEMY_DATABASE_URI')
SQLALCHEMY_POOL_SIZE = env.int('SQLALCHEMY_POOL_SIZE', 50)
ROW_LIMIT = env.int('ROW_LIMIT') ROW_LIMIT = env.int('ROW_LIMIT')
DATABASE_DIRECTORY = env.str('DATABASE_DIRECTORY') DATABASE_DIRECTORY = env.str('DATABASE_DIRECTORY')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册