From 8f2f1e4d7e19b20f369af5a6c3e01f34c7af31fa Mon Sep 17 00:00:00 2001 From: Xu Peng Date: Wed, 3 Apr 2019 09:34:40 +0800 Subject: [PATCH] feat(env): add SQLALCHEMY_POOL_SIZE in env --- pyengine/engine/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyengine/engine/settings.py b/pyengine/engine/settings.py index 1534cef9..73f09f5f 100644 --- a/pyengine/engine/settings.py +++ b/pyengine/engine/settings.py @@ -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') -- GitLab