Add logging for total Sonarr/Radarr records fetched
This commit is contained in:
@@ -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') || [];
|
||||
|
||||
Reference in New Issue
Block a user