saas: new rate limit policy

This commit is contained in:
yanlong.wang 2025-03-26 11:54:15 +08:00
parent 347beda0c2
commit 98d83e84bb
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -99,7 +99,7 @@ export const jinaAiMiddleware = (req: Request, res: Response, next: NextFunction
rateLimitPolicy = authDto.getRateLimits(appName) || [
parseInt(user.metadata?.speed_level) >= 2 ?
RateLimitDesc.from({
occurrence: 30,
occurrence: 100,
periodSeconds: 60
}) :
RateLimitDesc.from({