From 3eef4765df72f6d6fd3a321540542ea1d90d32dc Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 5 Mar 2025 15:22:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(backend)=20adjust=20throttle=20rat?= =?UTF-8?q?e=20from=20hours=20to=20minutes=20for=20request=5Fentry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correct throttling configuration for request_entry endpoint from hours to minutes. Previous setting of 150 requests per hour was insufficient as participants query approximately once per second while in the lobby. --- src/backend/meet/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py index 907cf34b..f25cf0a9 100755 --- a/src/backend/meet/settings.py +++ b/src/backend/meet/settings.py @@ -267,7 +267,7 @@ class Base(Configuration): "DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema", "DEFAULT_THROTTLE_RATES": { "request_entry": values.Value( - default="150/hour", + default="150/minute", environ_name="REQUEST_ENTRY_THROTTLE_RATES", environ_prefix=None, ),