ahampe / ahampe/KDVS

Improve third-party fetch logic

Offen
#78 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug enhancement
Vorherrschende Sprache
Kotlin
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently, we only make one attempt at fetching third-party data for a track or topmusic entity.

This is potentially problematic if the user is experiencing connection issues at the moment of fetch. We should only update the database on an empty fetch response if it can be ensured that this was not due to the local connection. Otherwise, it's possible that the user could be indefinitely barred from third party data for the given items.

We should also schedule retries on fetches.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.