mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-18 00:45:58 +08:00
fix
This commit is contained in:
parent
cda0f371e1
commit
40e91853e2
@ -112,7 +112,7 @@ export class SearcherHost extends RPCHost {
|
|||||||
const rateLimitPolicy = auth.getRateLimits(rpcReflect.name.toUpperCase()) || [
|
const rateLimitPolicy = auth.getRateLimits(rpcReflect.name.toUpperCase()) || [
|
||||||
parseInt(user.metadata?.speed_level) >= 2 ?
|
parseInt(user.metadata?.speed_level) >= 2 ?
|
||||||
RateLimitDesc.from({
|
RateLimitDesc.from({
|
||||||
occurrence: 200,
|
occurrence: 100,
|
||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
}) :
|
}) :
|
||||||
RateLimitDesc.from({
|
RateLimitDesc.from({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user