refactor: centralize target errors and cache lookups

This commit is contained in:
Peter Steinberger
2026-01-17 04:28:19 +00:00
parent 3efc5e54fa
commit 5fcc9b3244
20 changed files with 185 additions and 68 deletions

View File

@@ -227,6 +227,7 @@ async function getDirectoryEntries(params: {
source: "live",
});
directoryCache.set(liveKey, liveEntries, params.cfg);
directoryCache.set(cacheKey, liveEntries, params.cfg);
return liveEntries;
}