mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
saas: new rate limit policy
This commit is contained in:
parent
347beda0c2
commit
98d83e84bb
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user