diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-28 07:41:26 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-28 07:41:26 +0200 |
commit | 39dbe4fd3d4a7466a4657e256988b3c788927160 (patch) | |
tree | 340620f2a154e831bd88d1b9425362ee0ab4cc75 /src/bootstrap.py | |
parent | This option should be useless (on Heroku). (diff) | |
download | newspipe-39dbe4fd3d4a7466a4657e256988b3c788927160.tar.gz newspipe-39dbe4fd3d4a7466a4657e256988b3c788927160.tar.bz2 newspipe-39dbe4fd3d4a7466a4657e256988b3c788927160.zip |
Reduce the number of connections.
Diffstat (limited to 'src/bootstrap.py')
-rw-r--r-- | src/bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |