mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Merge pull request #1469 from alphagov/rc_performance_testing_updates_staging
Revert changes to staging for performance tests and increased rate limit
This commit is contained in:
@@ -392,19 +392,19 @@ class Staging(Config):
|
|||||||
FROM_NUMBER = 'stage'
|
FROM_NUMBER = 'stage'
|
||||||
API_RATE_LIMIT_ENABLED = True
|
API_RATE_LIMIT_ENABLED = True
|
||||||
CHECK_PROXY_HEADER = True
|
CHECK_PROXY_HEADER = True
|
||||||
REDIS_ENABLED = False
|
REDIS_ENABLED = True
|
||||||
|
|
||||||
API_KEY_LIMITS = {
|
API_KEY_LIMITS = {
|
||||||
KEY_TYPE_TEAM: {
|
KEY_TYPE_TEAM: {
|
||||||
"limit": 21000,
|
"limit": 24000,
|
||||||
"interval": 60
|
"interval": 60
|
||||||
},
|
},
|
||||||
KEY_TYPE_NORMAL: {
|
KEY_TYPE_NORMAL: {
|
||||||
"limit": 21000,
|
"limit": 24000,
|
||||||
"interval": 60
|
"interval": 60
|
||||||
},
|
},
|
||||||
KEY_TYPE_TEST: {
|
KEY_TYPE_TEST: {
|
||||||
"limit": 21000,
|
"limit": 24000,
|
||||||
"interval": 60
|
"interval": 60
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
inherit: manifest-api-base.yml
|
inherit: manifest-api-base.yml
|
||||||
command: scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py --error-logfile /home/vcap/logs/gunicorn_error.log -w 6 -b 0.0.0.0:$PORT application
|
|
||||||
services:
|
services:
|
||||||
- notify-aws
|
- notify-aws
|
||||||
- notify-config
|
- notify-config
|
||||||
|
|||||||
Reference in New Issue
Block a user