From 246806cf1a3dc34754969a38c96448d20dbb0192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sat, 11 Apr 2026 02:05:41 +0200 Subject: [PATCH] Increase route rate limit from 60 to 300 requests/hour With multi-waypoint routes (6 BRouter requests per computation) and debounced re-routing on waypoint changes, 60/hour was too easy to hit during active planning sessions. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/planner/app/lib/rate-limit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/planner/app/lib/rate-limit.ts b/apps/planner/app/lib/rate-limit.ts index 94a836c..3cbb951 100644 --- a/apps/planner/app/lib/rate-limit.ts +++ b/apps/planner/app/lib/rate-limit.ts @@ -6,7 +6,7 @@ interface RateLimitEntry { const store = new Map(); const DEFAULT_WINDOW_MS = 60 * 60 * 1000; // 1 hour -const DEFAULT_MAX_REQUESTS = 60; +const DEFAULT_MAX_REQUESTS = 300; // Clean up expired entries periodically setInterval(() => {