From 0bd5faa684e6aa663cc42d1317e95a037fd882d2 Mon Sep 17 00:00:00 2001 From: jaakko Date: Tue, 7 Apr 2026 07:35:26 +0300 Subject: [PATCH] =?UTF-8?q?API=20rate=20limit=2010=E2=86=9230=20pyynt?= =?UTF-8?q?=C3=B6=C3=A4/min:=20pipeline=20tarvitsee=20~12=20vaihetta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- network-poc/hub/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-poc/hub/src/main.rs b/network-poc/hub/src/main.rs index 61132fa..985d559 100644 --- a/network-poc/hub/src/main.rs +++ b/network-poc/hub/src/main.rs @@ -1015,7 +1015,7 @@ async fn api_chat_completions( *entry = (now, 1); // Uusi ikkuna } else { entry.1 += 1; - if entry.1 > 10 { + if entry.1 > 30 { return (axum::http::StatusCode::TOO_MANY_REQUESTS, "Liian monta pyyntöä — yritä minuutin kuluttua").into_response(); } }