fix: cache

This commit is contained in:
Simon Ding
2024-12-11 20:11:33 +08:00
parent 1020190c01
commit e947396c04

View File

@@ -117,6 +117,8 @@ func (s *Server) GetTvWatchlist(c *gin.Context) (interface{}, error) {
}
}
}
s.monitorNumCache.Set(item.ID, ms.MonitoredNum)
s.downloadNumCache.Set(item.ID, ms.DownloadedNum)
}
res[i] = ms