From 7b64dde592c00b9de06359ecbfb9ee8dd86dbb77 Mon Sep 17 00:00:00 2001 From: Yanlong Wang Date: Tue, 18 Mar 2025 21:19:56 +0800 Subject: [PATCH] chore: rate limit anonymous requests to 2rpm --- jina-ai/src/patch-express.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jina-ai/src/patch-express.ts b/jina-ai/src/patch-express.ts index 174660e..bbb9b42 100644 --- a/jina-ai/src/patch-express.ts +++ b/jina-ai/src/patch-express.ts @@ -110,7 +110,7 @@ export const jinaAiMiddleware = (req: Request, res: Response, next: NextFunction } else { rateLimitPolicy = [ RateLimitDesc.from({ - occurrence: 3, + occurrence: 2, periodSeconds: 60 }) ]