mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
testing
This commit is contained in:
1 parent
9e363c9ccf
commit
5a29545d41
14 files changed
+116
-50
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user