Merge pull request #1542 from alphagov/rc-sqlalchemy-config-updates

Moved the SQL Alchemy config from staging to all environments
This commit is contained in:
Richard Chapman
2018-01-05 14:18:48 +00:00
committed by GitHub

View File

@@ -121,6 +121,8 @@ class Config(object):
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
SQLALCHEMY_RECORD_QUERIES = True
SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_POOL_TIMEOUT = 30
SQLALCHEMY_POOL_RECYCLE = 300
PAGE_SIZE = 50
API_PAGE_SIZE = 250
SMS_CHAR_COUNT_LIMIT = 495
@@ -418,8 +420,6 @@ 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: {