Skip to content

Retry mechanism for bundle downloads #27

@ofalvai

Description

@ofalvai

I'm happy to contribute this feature, but want to get some alignment first from the maintainers and whether this is a good idea.

I looked at how the native downloader implementations handle retry, and I don't see anything that would retry transient server errors like HTTP 500 (that would be my #1 concern, but retrying other errors would be also useful)

  • iOS implementation uses NSURLConnection, which AFAIK doesn't retry on high-level errors like HTTP status codes
  • Android implementation uses java.net.HttpUrlConnection. I couldn't find anything conclusive about its retry logic.
  • Windows: TODO, haven't checked yet

I would expect this auto-retry to be configurable with the usual parameters like max attempts, initial delay, exponential backoff params, etc.

Is it something that would make sense for the project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions