Skip to content

Store TMDB entries in the database #23

Open
@Archmonger

Description

@Archmonger

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:

  1. Fetch Conreq's currently stored model of the Arr database
  2. Calculate the difference and delete any IDs that have been removed
  3. Calculate the intersection and call MODEL_NAME.objects.bulk_update on anything pre-existing
  4. Call MODEL_NAME.objects.bulk_create on anything new

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions