aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap.py b/src/bootstrap.py
index 912c35ae..ea3b5d05 100644
--- a/src/bootstrap.py
+++ b/src/bootstrap.py
@@ -34,6 +34,8 @@ else:
application.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
application.config['SQLALCHEMY_DATABASE_URI'] \
= conf.SQLALCHEMY_DATABASE_URI
+ application.config['SQLALCHEMY_POOL_SIZE'] = 20
+ application.config['SQLALCHEMY_MAX_OVERFLOW'] = 0
scheme, domain, _, _, _ = urlsplit(conf.PLATFORM_URL)
application.config['SERVER_NAME'] = domain
bgstack15