mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user