From 39dbe4fd3d4a7466a4657e256988b3c788927160 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 28 Oct 2016 07:41:26 +0200 Subject: Reduce the number of connections. --- src/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap.py b/src/bootstrap.py index dcd3ea14..9358e3d8 100644 --- a/src/bootstrap.py +++ b/src/bootstrap.py @@ -34,7 +34,7 @@ else: application.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False application.config['SQLALCHEMY_DATABASE_URI'] \ = conf.SQLALCHEMY_DATABASE_URI - application.config['SQLALCHEMY_POOL_SIZE'] = 20 + application.config['SQLALCHEMY_POOL_SIZE'] = 15 application.config['SQLALCHEMY_MAX_OVERFLOW'] = 0 scheme, domain, _, _, _ = urlsplit(conf.PLATFORM_URL) -- cgit