Add back in SQLALCHEMY config changes on staging

SQL Alchemy config changes were made to decrease the downtime of the
application. The last test only had 1 min of downtime in the upgrade
period i.e. 40 mins. Tested without the config changes to double
check the change had the desired effect. Adding back in so we can test
the changes under load and performance test outside of upgrade.
This commit is contained in:
Richard Chapman
2017-12-22 08:21:53 +00:00
parent 4b90e57a66
commit 20d5a946f6

View File

@@ -414,6 +414,8 @@ class Staging(Config):
API_RATE_LIMIT_ENABLED = True
CHECK_PROXY_HEADER = True
REDIS_ENABLED = True
SQLALCHEMY_POOL_TIMEOUT = 30
SQLALCHEMY_POOL_RECYCLE = 300
API_KEY_LIMITS = {
KEY_TYPE_TEAM: {