JoosepAlviste/serieslist

Periodically sync existing series

Closed this issue · 0 comments

Currently, the series are only re-synced when their detail pages are visited (every 7 days). However, we should sync them periodically so that we get new information about the latest and upcoming episodes.

Maybe a cron that runs daily and syncs series that haven't been synced in a week? Maybe we should only sync series that have already been synced (i.e., no syncing search results that haven't been visited)? Also, maybe we should only sync a few per day (20 or so?) in order to reduce the possibility of spamming TMDB in a short timespan? That would also spread the sync times more evenly in the future.

Could have the same image running with a different entrypoint. So, prod would have 2 containers running to avoid the cron affecting the main api.