From 2534439e6e26e1165ca527115ee5c8397a618b0e Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Sat, 3 May 2025 07:21:31 +0200 Subject: [PATCH] fix: increase rate limit period in jinaAiMiddleware from 60 to 120 seconds --- 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 143e444..5e516b2 100644 --- a/jina-ai/src/patch-express.ts +++ b/jina-ai/src/patch-express.ts @@ -111,7 +111,7 @@ export const jinaAiMiddleware = (req: Request, res: Response, next: NextFunction rateLimitPolicy = [ RateLimitDesc.from({ occurrence: 1, - periodSeconds: 60 + periodSeconds: 120 }) ] }