Skip to content

Fail permanently on other errors too #123

Description

@timmc

I have some older accounts with media that can no longer be fetched for various reasons, ranging from 500 errors from the server to domains that no longer resolve. Each new backup takes a very long time because of these outstanding errors. A recent run took all night.

Desired properties of a solution:

  • One-time errors do not cause a permanent media download failure
  • Continue to handle 429 as temporary (backoff and retry in same session)
  • Continue to handle 401 and 404 as immediately permanent (mark as missing and skip in the future)

I'll add a description of an implementation in the comments but wanted to check if a contribution like this would be desirable.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions