From efcbc01ee886aac5b70b2cbee069a1575abaaa45 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sat, 30 Sep 2017 20:09:01 +0000 Subject: [PATCH] Raise the sqlalchemy pool size limit to 100 --- webapp/titanembeds/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/titanembeds/app.py b/webapp/titanembeds/app.py index d2a7695..aa3354e 100644 --- a/webapp/titanembeds/app.py +++ b/webapp/titanembeds/app.py @@ -25,6 +25,7 @@ app.config['SQLALCHEMY_DATABASE_URI'] = config['database-uri'] app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False # Suppress the warning/no need this on for now. app.config['RATELIMIT_HEADERS_ENABLED'] = True app.config['SQLALCHEMY_POOL_RECYCLE'] = 250 +app.config['SQLALCHEMY_POOL_SIZE'] = 100 app.config['RATELIMIT_STORAGE_URL'] = 'keyvalprops://' app.secret_key = config['app-secret']