Conreq
Conreq copied to clipboard
Store TMDB entries in the database
Store TMDB entries in the database in order to avoid pulling each entry from cache. Currently pulling them from cache causes slow "My/All Issues" load when multiple items exist
Implementation ideas After grabbing the Arr database via API, do the following:
- Fetch Conreq's currently stored model of the Arr database
- Calculate the difference and delete any IDs that have been removed
- Calculate the intersection and call MODEL_NAME.objects.bulk_update on anything pre-existing
- Call MODEL_NAME.objects.bulk_create on anything new