Added SQLALCHEMY settings to staging for db connections

- Updated SQLALCHEMY_POOL_TIMEOUT timeout idle connections after  30 secs
- Updated SQLALCHEMY_POOL_RECYCLE to receyle the connection every 5 mins
This commit is contained in:
Richard Chapman
2017-12-20 11:37:19 +00:00
parent 67b6ac54eb
commit 15b157c553

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: {