()
| 164 | const memoryTableStreams = new Map<string, MemoryTableStream>() |
| 165 | |
| 166 | function canUseMemoryBuffer(): boolean { |
| 167 | return typeof window === 'undefined' && !env.REDIS_URL |
| 168 | } |
| 169 | |
| 170 | function pruneExpiredMemoryStreams(now = Date.now()): void { |
| 171 | for (const [tableId, stream] of memoryTableStreams) { |
no outgoing calls
no test coverage detected