(...msg: unknown[])
| 43 | const triggeredThreads = new Set<string>(); |
| 44 | |
| 45 | function log(...msg: unknown[]): void { |
| 46 | if (debug) { |
| 47 | // eslint-disable-next-line no-console |
| 48 | console.log('[Sentry Event Loop Blocked Watchdog]', ...msg); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | function createRateLimiter(maxEventsPerHour: number): () => boolean { |
| 53 | let currentHour = 0; |
no test coverage detected