From a2aa9c7e325ae170a1986597835632c2ce7564b7 Mon Sep 17 00:00:00 2001 From: Athanasios Voutsadakis Date: Thu, 23 Nov 2017 14:35:36 +0000 Subject: [PATCH] Bump staging rate limit in preparation for Load Tests --- app/config.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/config.py b/app/config.py index bac6db38f..3199fbe93 100644 --- a/app/config.py +++ b/app/config.py @@ -389,6 +389,21 @@ class Staging(Config): API_RATE_LIMIT_ENABLED = True CHECK_PROXY_HEADER = True + API_KEY_LIMITS = { + KEY_TYPE_TEAM: { + "limit": 21000, + "interval": 60 + }, + KEY_TYPE_NORMAL: { + "limit": 21000, + "interval": 60 + }, + KEY_TYPE_TEST: { + "limit": 21000, + "interval": 60 + } + } + class Live(Config): NOTIFY_EMAIL_DOMAIN = 'notifications.service.gov.uk'