mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-09 19:04:05 -04:00
Revert changes to staging for performance tests and increased rate limit
- Reverted the Gunicorn worker number to 5 (this should be investigated further on a well baselined system to compare) - Enabled REDIS - Increased the rate limit to 400 req/sec as using early testing yesterday 450+ was being achieved
This commit is contained in:
@@ -392,19 +392,19 @@ class Staging(Config):
|
||||
FROM_NUMBER = 'stage'
|
||||
API_RATE_LIMIT_ENABLED = True
|
||||
CHECK_PROXY_HEADER = True
|
||||
REDIS_ENABLED = False
|
||||
REDIS_ENABLED = True
|
||||
|
||||
API_KEY_LIMITS = {
|
||||
KEY_TYPE_TEAM: {
|
||||
"limit": 21000,
|
||||
"limit": 24000,
|
||||
"interval": 60
|
||||
},
|
||||
KEY_TYPE_NORMAL: {
|
||||
"limit": 21000,
|
||||
"limit": 24000,
|
||||
"interval": 60
|
||||
},
|
||||
KEY_TYPE_TEST: {
|
||||
"limit": 21000,
|
||||
"limit": 24000,
|
||||
"interval": 60
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user