This commit is contained in:
NoLogicAlan committed 2026-05-28 17:40:18 +03:00
1 parent 9e363c9ccf
commit 5a29545d41
14 files changed
+116 -50

No files matched your search

+6 -1
View File
@@ -140,7 +140,12 @@ export class TrackOptionsManager {
const safeAlias = TrackOptionsManager.sanitizeAlias(alias);
const cacheKey = `${userId}:${identifier}:${safeAlias}`;
if (this._cache.has(cacheKey)) return this._cache.get(cacheKey);
if (this._cache.has(cacheKey)) {
const cached = this._cache.get(cacheKey);
this._cache.delete(cacheKey);
this._cache.set(cacheKey, cached);
return cached;
}
try {
const rows = await this._query(