Spaces:
Build error
Build error
fix
Browse files
backend/functions/src/cloud-functions/searcher.ts
CHANGED
|
@@ -112,7 +112,7 @@ export class SearcherHost extends RPCHost {
|
|
| 112 |
const rateLimitPolicy = auth.getRateLimits(rpcReflect.name.toUpperCase()) || [
|
| 113 |
parseInt(user.metadata?.speed_level) >= 2 ?
|
| 114 |
RateLimitDesc.from({
|
| 115 |
-
occurrence:
|
| 116 |
periodSeconds: 60
|
| 117 |
}) :
|
| 118 |
RateLimitDesc.from({
|
|
|
|
| 112 |
const rateLimitPolicy = auth.getRateLimits(rpcReflect.name.toUpperCase()) || [
|
| 113 |
parseInt(user.metadata?.speed_level) >= 2 ?
|
| 114 |
RateLimitDesc.from({
|
| 115 |
+
occurrence: 100,
|
| 116 |
periodSeconds: 60
|
| 117 |
}) :
|
| 118 |
RateLimitDesc.from({
|