From 45ecb6c24f9084ac3b23779603d1f91d7e6154e2 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sun, 2 Dec 2018 20:22:10 +0000 Subject: [PATCH] Set postgresql pool size to 40 --- webapp/titanembeds/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/app.py b/webapp/titanembeds/app.py index 465f2bf..bbda4a3 100644 --- a/webapp/titanembeds/app.py +++ b/webapp/titanembeds/app.py @@ -28,7 +28,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'] = 100 -app.config['SQLALCHEMY_POOL_SIZE'] = 15 +app.config['SQLALCHEMY_POOL_SIZE'] = 40 app.config['RATELIMIT_STORAGE_URL'] = config["redis-uri"] app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=3) app.config['REDIS_URL'] = config["redis-uri"]