From 34ee6012e47d2924c4ca8597a3a615e4d4c2e3f9 Mon Sep 17 00:00:00 2001 From: Tanner Prestegard <tanner.prestegard@ligo.org> Date: Thu, 28 Feb 2019 15:19:42 -0600 Subject: [PATCH] Upgrading unauthenticated user throttle Since the web view makes a few API requests to load log messages and other content, we have to allow more requests. Also, it sounds like users at a university might all appear to be on the same IP address, so we want to try to account for that. --- config/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings/base.py b/config/settings/base.py index 45f047b8f..0033840fc 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -365,7 +365,7 @@ REST_FRAMEWORK = { 'api.throttling.BurstAnonRateThrottle', ), 'DEFAULT_THROTTLE_RATES': { - 'anon_burst': '3/second', + 'anon_burst': '300/minute', 'event_creation': '1/second', 'annotation' : '10/second', }, -- GitLab