Skip to content

Commit

Permalink
fix: cache
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Dec 11, 2024
1 parent 1020190 commit e947396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/watchlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e947396

Please sign in to comment.