(isSubscriber: boolean)
| 30 | * Check if we should process rate limits (either real subscriber or /mock-limits command) |
| 31 | */ |
| 32 | export function shouldProcessRateLimits(isSubscriber: boolean): boolean { |
| 33 | return isSubscriber || shouldProcessMockLimits() |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Check if mock rate limits should throw a 429 error |
no test coverage detected