mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-27 14:10:48 +08:00
fix: cache
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user