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) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-11 02:05:41 +02:00
parent 6d82ebe127
commit 246806cf1a
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -6,7 +6,7 @@ interface RateLimitEntry {
const store = new Map<string, RateLimitEntry>();
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(() => {