From 7908339cfaaa9464644919373adcd61262be031d Mon Sep 17 00:00:00 2001 From: yousefed Date: Fri, 9 Oct 2026 12:12:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(dev-instance)=20raise=20the=20docu?= =?UTF-8?q?ment=20access=20throttle=20for=20the=20history=20panel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit yhub checks the access of each history request with the backend (/documents//accesses/me/). The default throttle of 50 requests per minute for each user made the backend answer 429, and yhub then answered 503. Clicking through the history panel reached this limit quickly. Signed-off-by: yousefed --- deploy/dev-instance/compose.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/dev-instance/compose.yaml b/deploy/dev-instance/compose.yaml index 6322164855..77272a10f9 100644 --- a/deploy/dev-instance/compose.yaml +++ b/deploy/dev-instance/compose.yaml @@ -123,6 +123,10 @@ services: restart: unless-stopped environment: - DJANGO_CONFIGURATION=Production + # yhub checks the access of each history request with the backend. The + # default of 50/minute per user made the history panel fail with 503. + - API_DOCUMENT_ACCESS_THROTTLE_RATE=1000/minute + - API_DOCUMENT_THROTTLE_RATE=1000/minute env_file: - env.d/common - env.d/backend