Disable TTL on disk cache

1a2c54ce39f6dc9e260e75b4c221a251106faa10

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -2Ignore whitespace
src/endpoints/characters.js+1 -2
@@ -48,8 +48,7 @@ const diskCache = {
4848 }
4949
5050 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 });
5352 await this._instance.init();
5453 return this._instance;
5554 },