From e6373e9e6014534daa53b717a7921a7a0d28b2bd Mon Sep 17 00:00:00 2001 From: davidasix Date: Wed, 18 Feb 2026 22:50:18 -0500 Subject: [PATCH] Increase rate limit --- src/app/api/(endpoints)/v1/fetch-updated-data/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/api/(endpoints)/v1/fetch-updated-data/route.ts b/src/app/api/(endpoints)/v1/fetch-updated-data/route.ts index 5a912ac..b6e70bf 100644 --- a/src/app/api/(endpoints)/v1/fetch-updated-data/route.ts +++ b/src/app/api/(endpoints)/v1/fetch-updated-data/route.ts @@ -34,13 +34,13 @@ export const POST: RequestHandler = withApiKey( withEventRateLimit( { eventType: "fetch_updated_data_1d", - maxRequests: 100, + maxRequests: 500, windowMs: 24 * 60 * 60 * 1000, }, // 24 hours withEventRateLimit( { eventType: "fetch_updated_data_5m", - maxRequests: 10, + maxRequests: 25, windowMs: 5 * 60 * 1000, }, // 5 minutes withBody(schema, async (_, context) => {