Disable TTL on disk cache
| @@ -48,8 +48,7 @@ const diskCache = { | ||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | const cacheDir = path.join(globalThis.DATA_ROOT, '_cache', 'characters'); |
| 51 | - const ttl = 7 * 24 * 60 * 60 * 1000; // 7 days | |
| 51 | + this._instance = storage.create({ dir: cacheDir, ttl: false }); | |
| 52 | - this._instance = storage.create({ dir: cacheDir, ttl: ttl }); | |
| 53 | 52 | await this._instance.init(); |
| 54 | 53 | return this._instance; |
| 55 | 54 | }, |