()
| 6 | static timeout = 60 * 60 * 1000; // 1 hour |
| 7 | |
| 8 | constructor() { |
| 9 | setInterval( |
| 10 | async () => { |
| 11 | await this.clearExpired(); |
| 12 | }, |
| 13 | 5 * 60 * 1000 // 5 min |
| 14 | ); |
| 15 | } |
| 16 | |
| 17 | add(file: FileWriter): string { |
| 18 | const key = v4(); |
nothing calls this directly
no test coverage detected