Clear LibraryItemsPodcastFilters count cache after podcast[Episode] is created or destroryed

This commit is contained in:
mikiher 2025-02-16 13:27:47 +02:00
parent de5d8650e8
commit 659164003f
3 changed files with 20 additions and 2 deletions

View file

@ -100,7 +100,8 @@ module.exports = {
return []
},
clearCountCache() {
clearCountCache(model, hook) {
Logger.debug(`[LibraryItemsPodcastFilters] ${model}.${hook}: Clearing count cache`)
countCache.clear()
},