aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-28 07:36:41 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-28 07:36:41 +0200
commitc29115fb3e4a2aaca57b5077f7b3040597ea2374 (patch)
tree1f5e8aabdbe76167224b1f1bec899e6edc1775a8
parentTry to limit the pool size and the number of connections that can be created ... (diff)
downloadnewspipe-c29115fb3e4a2aaca57b5077f7b3040597ea2374.tar.gz
newspipe-c29115fb3e4a2aaca57b5077f7b3040597ea2374.tar.bz2
newspipe-c29115fb3e4a2aaca57b5077f7b3040597ea2374.zip
This option should be useless (on Heroku).
-rw-r--r--src/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap.py b/src/bootstrap.py
index ea3b5d05..dcd3ea14 100644
--- a/src/bootstrap.py
+++ b/src/bootstrap.py
@@ -31,7 +31,7 @@ if os.environ.get('Newspipe_TESTING', False) == 'true':
application.config['TESTING'] = True
else:
application.debug = conf.LOG_LEVEL <= logging.DEBUG
- application.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
+ application.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
application.config['SQLALCHEMY_DATABASE_URI'] \
= conf.SQLALCHEMY_DATABASE_URI
application.config['SQLALCHEMY_POOL_SIZE'] = 20
bgstack15