feat(env): add SQLALCHEMY_POOL_SIZE in env

This commit is contained in:
Xu Peng 2019-04-03 09:34:40 +08:00
parent 0b73fd3e29
commit 8f2f1e4d7e

View File

@ -7,6 +7,7 @@ DEBUG = env.bool('DEBUG', default=False)
SQLALCHEMY_TRACK_MODIFICATIONS = env.bool('DEBUG', default=False)
SECRET_KEY = env.str('SECRET_KEY', 'test')
SQLALCHEMY_DATABASE_URI = env.str('SQLALCHEMY_DATABASE_URI')
SQLALCHEMY_POOL_SIZE = env.int('SQLALCHEMY_POOL_SIZE', 50)
ROW_LIMIT = env.int('ROW_LIMIT')
DATABASE_DIRECTORY = env.str('DATABASE_DIRECTORY')