Add logging for total Sonarr/Radarr records fetched
Build and Push Docker Image / build (push) Successful in 27s
Licence Check / Licence compatibility and copyright header verification (push) Successful in 59s
CI / Security audit (push) Successful in 1m13s
CI / Tests & coverage (push) Successful in 1m28s

This commit is contained in:
2026-05-21 01:06:28 +01:00
parent 830dea3d6b
commit 7424e70ea6
+2
View File
@@ -251,6 +251,8 @@ router.get('/recent', requireAuth, async (req, res) => {
showAll ? getEmbyUsers() : Promise.resolve(new Map())
]);
console.log(`[History] Fetched ${sonarrHistory.length} Sonarr records, ${radarrHistory.length} Radarr records since ${since.toISOString()}`);
// Build tag maps from the cached poll data where available,
// falling back to what's embedded in history records
const sonarrTagsData = cache.get('poll:sonarr-tags') || [];